freebsd-ports/emulators/bsvc/files/patch-src-Makefile
Edwin Groothuis 94347ffdf2 Make emulators/bsvc work on -current again
PR:		ports/44852
Submitted by:	Volker Stolz <vs@foldr.org>
2002-11-24 10:11:54 +00:00

19 lines
466 B
Text

--- Makefile.orig Sun Nov 3 13:08:10 2002
+++ Makefile Sun Nov 3 13:08:55 2002
@@ -6,12 +6,12 @@
###############################################################################
## C and C++ compiler to use
-CC = gcc
-CXX = g++
+CC ?= gcc
+CXX ?= g++
## C and C++ compiler flags
-CCFLAGS = -O
-CXXFLAGS = -O -ansi -Wall -D_G_NO_EXTERN_TEMPLATES
+CCFLAGS = $(CFLAGS)
+CXXFLAGS += -ansi -D_G_NO_EXTERN_TEMPLATES -DUSE_STD
## System Includes
SYS_INCLUDES =