ports/science/vmd/files/patch-lib_surf_Makefile
Jason W. Bacon 9d387d6d8e science/vmd: Update to 1.9.4a57
Unbreak build: 1.9.3 incompatible with latest python tools
Clean up portlint and stage qa issues
2022-11-15 18:36:16 -06:00

11 lines
419 B
Text

--- lib/surf/Makefile.orig 2022-11-15 15:32:58 UTC
+++ lib/surf/Makefile
@@ -6,7 +6,7 @@ INCLUDE = -I.
LINCLUDE = -lm
OPT_CFLAGS = -O2 $(FLAGS) $(INCLUDE)
#CFLAGS = -g $(FLAGS) $(INCLUDE)
-CFLAGS = -O2 $(FLAGS) $(INCLUDE)
+CFLAGS += -O2 $(FLAGS) $(INCLUDE)
# These are the user object files in the application
SRCS = surf.c io.c compute.c dual.c utils.c lp.c chull.c tessel_cases.c \