mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
make sure we add to LDFLAGS
This commit is contained in:
parent
995b6b8586
commit
c68eb0c705
2
Makefile
2
Makefile
@ -133,7 +133,7 @@ endif
|
|||||||
|
|
||||||
ifeq ("$(OSNAME)", "darwin")
|
ifeq ("$(OSNAME)", "darwin")
|
||||||
CFLAGS+=$(shell pkg-config openssl --cflags)
|
CFLAGS+=$(shell pkg-config openssl --cflags)
|
||||||
LDFLAGS=$(shell pkg-config openssl --libs)
|
LDFLAGS+=$(shell pkg-config openssl --libs)
|
||||||
S_SRC+=src/bsd.c
|
S_SRC+=src/bsd.c
|
||||||
else ifeq ("$(OSNAME)", "linux")
|
else ifeq ("$(OSNAME)", "linux")
|
||||||
CFLAGS+=-D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
|
CFLAGS+=-D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
|
||||||
|
@ -29,7 +29,7 @@ endif
|
|||||||
OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z)
|
OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z)
|
||||||
ifeq ("$(OSNAME)", "darwin")
|
ifeq ("$(OSNAME)", "darwin")
|
||||||
CFLAGS+=$(shell pkg-config openssl --cflags)
|
CFLAGS+=$(shell pkg-config openssl --cflags)
|
||||||
LDFLAGS=$(shell pkg-config openssl --libs)
|
LDFLAGS+=$(shell pkg-config openssl --libs)
|
||||||
else ifeq ("$(OSNAME)", "linux")
|
else ifeq ("$(OSNAME)", "linux")
|
||||||
CFLAGS+=-D_GNU_SOURCE=1
|
CFLAGS+=-D_GNU_SOURCE=1
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user