1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/lang/eisl/files/patch-makefile
Yuri Victorovich 5a968f1642 lang/eisl: Update 2.63 → 2.85
Reported by:	portscout
2023-03-06 01:19:17 -08:00

30 lines
628 B
Plaintext

--- makefile.orig 2023-03-05 08:53:07 UTC
+++ makefile
@@ -1,7 +1,7 @@
.POSIX:
.DELETE_ON_ERROR:
-CC := cc
+#CC := cc
DC := ldc2
LD := $(CC)
ifneq ($(shell uname),Darwin)
@@ -67,7 +67,7 @@ ifeq ($(DEBUG),1)
LDFLAGS += -fsanitize=undefined
endif
else
- CFLAGS += -O3 -flto -DNDEBUG=1 -DWITHOUT_NANA=1
+ CFLAGS += -O3 -DNDEBUG=1 -DWITHOUT_NANA=1
SRC_CII += cii/src/mem.c
endif
OBJ_CII := $(SRC_CII:.c=.o)
@@ -85,7 +85,7 @@ ifeq ($(shell uname -n),raspberrypi)
CFLAGS += -D__rpi__
endif
ifneq ($(DEBUG),1)
- LDFLAGS += -flto
+ #LDFLAGS += -flto
ifeq ($(shell uname),Darwin)
LDFLAGS += -Wl,-S,-x
else