mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +02:00
Including config.h
also needs $(buildprefix)
Per the instruction in the manual, we want to run configure in a different directory so that we can configure + build for multiple platforms. That means `config.h` will be in the build directory. This is just like `Makefile.config`, which already is used with `$(buildprefix)`.
This commit is contained in:
parent
efc65ef122
commit
733333e87d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -64,4 +64,4 @@ $(eval $(call include-sub-makefile, doc/manual/local.mk))
|
||||||
$(eval $(call include-sub-makefile, doc/internal-api/local.mk))
|
$(eval $(call include-sub-makefile, doc/internal-api/local.mk))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GLOBAL_CXXFLAGS += -g -Wall -include config.h -std=c++2a -I src
|
GLOBAL_CXXFLAGS += -g -Wall -include $(buildprefix)config.h -std=c++2a -I src
|
||||||
|
|
Loading…
Reference in a new issue