[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #50300] Set CFLAGS to “-O1” with .POSIX target
From: |
Paul D. Smith |
Subject: |
[bug #50300] Set CFLAGS to “-O1” with .POSIX target |
Date: |
Sun, 16 Apr 2017 14:20:01 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
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 #50300] Set CFLAGS to “-O1” with .POSIX target,
Paul D. Smith <=