Summary: | build: Allow settings CPPFLAGS used for auxiliary tools when cross-compiling | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marvin Schmidt <marvin_schmidt> |
Component: | Build Process | Assignee: | Chris Liddell (chrisl) <chris.liddell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: | introduce CPPFLAGSAUX |
I'm in the middle of various change to the configure script right now, so the patch doesn't directly apply. I've done it manually, but if you have a moment, I would appreciate it if you could cast a quick eye over what I've done to make sure I didn't mess up: http://git.ghostscript.com/?p=user/chrisl/ghostpdl.git;a=commitdiff;h=e220822f7093 Applied (hopefully all okay): https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=317c0154a814 Thanks! |
Created attachment 18258 [details] introduce CPPFLAGSAUX Otherwise CPPFLAGS will be used as-is, which are the CPPFLAGS for the host we're building for: configure:3157: checking whether the C compiler works configure:3179: x86_64-pc-linux-gnu-cc -march=native -O2 -pipe -march=armv7-a -mfloat-abi=hard -mfpu=vfpv4 -pipe -O2 conftest.c >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-mfloat-abi=hard' x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-mfpu=vfpv4' configure:3183: $? = 1 configure:3221: result: no