opnsense-ports/cad/abc/files/patch-Makefile
Franco Fichtner 74f04f1b65 */*: sync with upstream
Taken from: FreeBSD
2022-10-11 08:57:11 +02:00

18 lines
370 B
Text

--- Makefile.orig 2022-10-09 13:52:58 UTC
+++ Makefile
@@ -1,6 +1,4 @@
-CC := gcc
-CXX := g++
AR := ar
LD := $(CXX)
@@ -53,8 +51,6 @@ ARCHFLAGS := $(ARCHFLAGS)
endif
ARCHFLAGS := $(ARCHFLAGS)
-
-OPTFLAGS ?= -g -O
CFLAGS += -Wall -Wno-unused-function -Wno-write-strings -Wno-sign-compare $(ARCHFLAGS)
ifneq ($(findstring arm,$(shell uname -m)),)