OBS-URL: https://build.opensuse.org/request/show/1302266 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/snowball?expand=0&rev=4
25 lines
746 B
Diff
25 lines
746 B
Diff
From: Stefano Rivera <stefanor@debian.org>
|
|
Date: Sun, 24 Jan 2021 19:07:24 -0700
|
|
Subject: Honor build flags passed as command line arguments
|
|
|
|
Forwarded: not-needed
|
|
---
|
|
GNUmakefile | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/GNUmakefile b/GNUmakefile
|
|
index e1403be..8c50ec5 100644
|
|
--- a/GNUmakefile
|
|
+++ b/GNUmakefile
|
|
@@ -190,8 +190,8 @@ C_OTHER_OBJECTS = $(C_OTHER_SOURCES:.c=.o)
|
|
JAVA_CLASSES = $(JAVA_SOURCES:.java=.class)
|
|
JAVA_RUNTIME_CLASSES=$(JAVARUNTIME_SOURCES:.java=.class)
|
|
|
|
-CFLAGS=-g -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Wshadow $(WERROR)
|
|
-CPPFLAGS=
|
|
+override CFLAGS += -g -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -Wshadow $(WERROR)
|
|
+CPPFLAGS?=
|
|
|
|
INCLUDES=-Iinclude
|
|
|