-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
We suggest in the instructions to override CCFLAGS like this:
./bin/package make \
SHELL=/bin/bash CCFLAGS="-xc99 -D_XPG6 -m64 -xO4" LDFLAGS="-m64"
However, there are some places like for example lib/ast/libast/Makefile:
Line 13 in e7f2542
| CCFLAGS = $(CC.SUFFIX.DEBUG:+$(CC.DEBUG)) $(CC.OPTIMIZE) $(CC.DLL) |
where CCFLAGS gets overwritten anyway. If we override that, and CC.DLL is needed to be to set -fPIC and things like that we may end up in problems with linking.
I don't have a clear reproduction case for this issue right now, but I have noticed builds breaking when trying to set CCFLAGS to quell clang warnings.
Metadata
Metadata
Assignees
Labels
No labels