diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-22 01:41:00 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-22 01:47:11 -0400 |
commit | 428462a4c355f32e09fa5e578043c15ea91e29f7 (patch) | |
tree | 103b41e4562757b26d4fb3aae0b785bc4296bbd5 /Makefile | |
parent | 873e0ec7fc4d466cfcdec16a7648cc18609ba702 (diff) | |
download | musl-428462a4c355f32e09fa5e578043c15ea91e29f7.tar.gz musl-428462a4c355f32e09fa5e578043c15ea91e29f7.tar.xz musl-428462a4c355f32e09fa5e578043c15ea91e29f7.zip |
make configure check for visibility preinclude compatible with pcc
pcc does not search for -include relative to the working directory unless -I. is used. rather than adding -I., which could be problematic if there's extra junk in the top-level directory, switch back to the old method (reverting commit 60ed988fd6c67b489d7cc186ecaa9db4e5c25b8c) of using -include vis.h and relying on -I./src/internal being present on the command line (which the Makefile guarantees). to fix the breakage that was present in trycppif checks with the old method, $CFLAGS_AUTO is removed from the command line passed to trycppif; this is valid since $CFLAGS_AUTO should not contain options that alter compiler semantics or ABI, only optimizations, warnings, etc.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions