2431ca7a4a
FreeBSD-11. Reported by: http://beefy9.nyi.freebsd.org/data/111amd64-default/470749/logs/octave-forge-octclip-1.0.8_8.log
15 lines
589 B
Text
15 lines
589 B
Text
--- Makefile.orig 2018-05-24 03:17:31 UTC
|
|
+++ Makefile
|
|
@@ -6,10 +6,10 @@ FLAGSCOMW=-Wall -Wextra -Wshadow -Wcast-
|
|
#Common optimization flags for C and C++
|
|
FLAGSCOMO=-O2 -funroll-loops -fno-common -fshort-enums
|
|
#Flags for C
|
|
-CFLAGS=-std=c99 -pedantic $(FLAGSCOMW) -Wconversion -Wmissing-prototypes
|
|
+CFLAGS+=-std=c99 -pedantic $(FLAGSCOMW) -Wconversion -Wmissing-prototypes
|
|
CFLAGS+=-Wstrict-prototypes -Wnested-externs $(FLAGSCOMO)
|
|
#Flags for C++
|
|
-CXXFLAGS=$(FLAGSCOMW) $(FLAGSCOMO)
|
|
+CXXFLAGS+=$(FLAGSCOMW) $(FLAGSCOMO)
|
|
#Export flags for compilers and linker
|
|
export CFLAGS CXXFLAGS
|
|
|