ports/multimedia/jmref/files/patch-Makefile
Stefan Eßer eca93e998d Fix build with -fno-common
While here add the ISO/IEC and ITU licenses and fix a compiler warning
regarding a mis-compiled comparison (!a == b) --> (!(a == b)) to not
compare !a with b (while !(a == b) was clearly intended).
2020-09-29 10:50:13 +00:00

11 lines
242 B
Text

--- Makefile.orig 2020-09-29 10:45:14 UTC
+++ Makefile
@@ -20,8 +20,6 @@ OPENMP?= 0
LLVM = $(shell $(CC) --version | grep LLVM)
ifneq ($(LLVM),)
CFLAGS+=-Qunused-arguments
-else
- CFLAGS+=-Wno-unused-but-set-variable
endif
export DBG