mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
717e821b99
As is normal for autoconf-based projects. For example, it is a common use case to do ./configure CXXFLAGS=-O0 This did not work for nix until now, because the `CXXFLAGS=` declaration would unconditionally erase what the user had specified. The custom `OPTIMIZE` flag is removed, but the default `-O3` is retained; autoconf would default to `-g -O2` by default otherwise as documented on: https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C-Compiler.html https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C_002b_002b-Compiler.html
22 lines
475 B
Makefile
22 lines
475 B
Makefile
makefiles = \
|
|
local.mk \
|
|
src/libutil/local.mk \
|
|
src/libstore/local.mk \
|
|
src/libmain/local.mk \
|
|
src/libexpr/local.mk \
|
|
src/nix/local.mk \
|
|
src/resolve-system-dependencies/local.mk \
|
|
scripts/local.mk \
|
|
corepkgs/local.mk \
|
|
misc/systemd/local.mk \
|
|
misc/launchd/local.mk \
|
|
misc/upstart/local.mk \
|
|
doc/manual/local.mk \
|
|
tests/local.mk \
|
|
tests/plugins/local.mk
|
|
|
|
GLOBAL_CXXFLAGS += -g -Wall -include config.h
|
|
|
|
-include Makefile.config
|
|
|
|
include mk/lib.mk
|