mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 03:00:42 -04:00
15 lines
317 B
Text
15 lines
317 B
Text
--- Makefile.orig 2018-07-16 12:17:05 UTC
|
|
+++ Makefile
|
|
@@ -8,9 +8,9 @@ WARNFLAGS = -Wall -Wextra -std=gnu99 -pe
|
|
DEBUGFLAGS = -g
|
|
CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS)
|
|
OS := $(shell uname)
|
|
-ifneq ($(OS), Darwin)
|
|
- LDFLAGS += -Wl,-z,relro
|
|
-endif
|
|
+.if ${OS} != Darwin
|
|
+LDFLAGS += -Wl,-z,relro
|
|
+.endif
|
|
|
|
|
|
|