aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-09-08 23:28:39 +0100
committerGravatar Sadie Powell2024-09-09 07:42:31 +0100
commita3668d75d6edbc18d763df3e066d08da58606298 (patch)
treed4232ef1fda5479be36b2ff0de0751395babb770 /make
parentUse string_view in InspIRCd::Is{FQDN,Host,SID}. (diff)
Use -I for the vendor directory instead of -isystem.
Fixes {fmt} from the system conflicting with our local vendored copy of {fmt}. Thanks to @slimture for testing. Closes #2105.
Diffstat (limited to 'make')
-rw-r--r--make/template/main.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 1b83a2601..24aaefe48 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -45,7 +45,7 @@ SYSTEM = @SYSTEM_NAME@
SOURCEPATH = @SOURCE_DIR@
BUILDPATH ?= $(SOURCEPATH)/build/@COMPILER_NAME@-@COMPILER_VERSION@
SOCKETENGINE = @SOCKETENGINE@
-CORECXXFLAGS = -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pipe -I"$(SOURCEPATH)/include" -isystem "$(SOURCEPATH)/vendor" -Wall -Wextra -Wfatal-errors -Woverloaded-virtual -Wpedantic -Wno-format-nonliteral -Wno-unused-parameter -DFMT_SHARED
+CORECXXFLAGS = -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pipe -I"$(SOURCEPATH)/include" -I"$(SOURCEPATH)/vendor" -Wall -Wextra -Wfatal-errors -Woverloaded-virtual -Wpedantic -Wno-format-nonliteral -Wno-unused-parameter -DFMT_SHARED
LDLIBS = @COMPILER_EXTRA_LDLIBS@
CORELDFLAGS = -fPIE -pie -L.
PICLDFLAGS = -fPIC -shared