Update of bug #50300 (project make):
Status: None => Not A Bug
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
I'm not sure I understand this bug report. The default behavior of GNU make
contains no settings for CFLAGS at all:
$ make -p -f /dev/null | grep CFLAGS
make: *** No targets. Stop.
LINK.m = $(OBJC) $(OBJCFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
LINK.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
COMPILE.m = $(OBJC) $(OBJCFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
$ make -pf/dev/null | grep .-O
make: *** No targets. Stop.
If "-O" is appearing in your CFLAGS, it's not make that's adding it.
If you can provide further details about what make is doing wrong I'm happy to
reopen this issue.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50300>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make