opnsense-ports/databases/firebird40-server/files/patch-examples-exauth_Makefile
Franco Fichtner 0173d5dbbd */*: sync with upstream
Taken from: HardenedBSD
2021-06-29 13:29:17 +02:00

13 lines
584 B
Text

--- examples/extauth/Makefile 2021-05-29 10:05:05.000000000 -0500
+++ examples/extauth/Makefile 2021-06-27 18:10:21.360951000 -0500
@@ -61,8 +61,8 @@
TCWRAP_objects=$(INTERMED)/TcWrapper.o
KEY_AUTH_objects=$(INTERMED)/ExtAuth.o
-CXXFLAGS=-std=c++11 -pthread -I$(ROOT)/include -fPIC $(TOMCRYPT_COMPILE)
-LDFLAGS=-pthread -L$(LIB) -Wl,-rpath,'$$ORIGIN/../lib' $(TOMCRYPT_LINK)
+CXXFLAGS=-std=c++11 -pthread -I$(ROOT)/include -fPIC $(TOMCRYPT_COMPILE) ${CFLAGS}
+LDFLAGS+=-pthread -L$(LIB) -Wl,-rpath,'$$ORIGIN/../lib' $(TOMCRYPT_LINK)
LINK_LIBS=-lfbclient -ltomcrypt -ltommath