You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emulation/simh/files/simh-3.11.0-respect-FLAGS.p...

14 lines
265 B

--- a/makefile
+++ b/makefile
@@ -497,8 +497,8 @@ ifneq ($(DEBUG),)
CFLAGS_O = -O0
BUILD_FEATURES = - debugging support
else
- CFLAGS_O = -O2
- LDFLAGS_O =
+ CFLAGS_O ?= -O2
+ LDFLAGS_O ?=
ifeq (Darwin,$(OSTYPE))
NO_LTO = 1
endif