freebsd-ports/x11/hhpc/files/patch-Makefile
Yuri Victorovich f0294bafaa New port: x11/hhpc: Small and easy to use console text editor
PR:		224345
Submitted by:	Dmitri Goutnik <dg@syrec.org>
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D13499
2017-12-18 22:39:38 +00:00

23 lines
409 B
Text

--- Makefile.orig 2014-08-25 15:37:45 UTC
+++ Makefile
@@ -51,7 +51,7 @@ CFLAGS_COMMON ?= \
-pedantic \
-std=c99
-CFLAGS ?= $(CFLAGS_COMMON)
+CFLAGS += $(CFLAGS_COMMON)
CC ?= cc $(CFLAGS)
@@ -66,10 +66,7 @@ debug: CFLAGS += $(WARN) \
-DDEBUG
debug: $(EXECUTABLE)
-release: CFLAGS += \
- -s \
- -O2 \
- -DNDEBUG
+release: CFLAGS += -DNDEBUG
release: $(EXECUTABLE)
$(EXECUTABLE): $(OBJECTS)