mirror of
https://github.com/NixOS/nix
synced 2025-07-09 12:03:55 +02:00
Revert "autoconf: Allow overriding CFLAGS/CXXFLAGS from outside."
This reverts commit 717e821b99
. It's
much more convenient to do 'make OPTIMIZE=0'.
This commit is contained in:
parent
5ff4d77f55
commit
f5b7991e59
4 changed files with 19 additions and 8 deletions
|
@ -4,4 +4,11 @@ GLOBAL_CXXFLAGS += -g -Wall
|
|||
|
||||
-include Makefile.config
|
||||
|
||||
OPTIMIZE = 1
|
||||
|
||||
ifeq ($(OPTIMIZE), 1)
|
||||
GLOBAL_CFLAGS += -O3
|
||||
GLOBAL_CXXFLAGS += -O3
|
||||
endif
|
||||
|
||||
include mk/lib.mk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue