summaryrefslogtreecommitdiff
path: root/emulators/bsvc/files/patch-src-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/bsvc/files/patch-src-Makefile')
-rw-r--r--emulators/bsvc/files/patch-src-Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/emulators/bsvc/files/patch-src-Makefile b/emulators/bsvc/files/patch-src-Makefile
new file mode 100644
index 000000000000..6806cd074234
--- /dev/null
+++ b/emulators/bsvc/files/patch-src-Makefile
@@ -0,0 +1,19 @@
+--- 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 =