ports/cad/abc/files/patch-Makefile
Emmanuel Vadot edd93bd3ba cad/abc: Update g20200322 -> g20220920
PR:		266917 260806
Approved by:	uddka@student.kit.edu (maintainer's timeout; 9+ months on PR#260806)
2022-10-09 12:02:15 -07: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)),)