summaryrefslogtreecommitdiff
path: root/editors/biew/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'editors/biew/files/patch-ac')
-rw-r--r--editors/biew/files/patch-ac30
1 files changed, 30 insertions, 0 deletions
diff --git a/editors/biew/files/patch-ac b/editors/biew/files/patch-ac
new file mode 100644
index 000000000000..bca4e4867457
--- /dev/null
+++ b/editors/biew/files/patch-ac
@@ -0,0 +1,30 @@
+--- makefile.inc.orig Fri Mar 3 04:02:14 2000
++++ makefile.inc Mon Mar 20 18:43:11 2000
+@@ -121,7 +121,7 @@
+ ##############################################################################
+ ifdef CONFIG_I386
+ MACHINE=i386
+-CDEFSYS=-D__BITNESS__=32 -D__PLATFORM__='"i386"' -D__BYTE_ORDER__=__LITTLE_ENDIAN__ -D__DEFAULT_DISASM=0 -m386
++CDEFSYS=-D__BITNESS__=32 -D__PLATFORM__='"i386"' -D__BYTE_ORDER__=__LITTLE_ENDIAN__ -D__DEFAULT_DISASM=0
+ endif
+ ifdef CONFIG_I486
+ MACHINE=i386
+@@ -151,14 +151,14 @@
+ # If you do not have GNU development system, modify RM CC LD variables #
+ ##############################################################################
+ RM=rm -f
+-CC=gcc
+-LD=gcc
++CC?=gcc
++LD=$(CC)
+ ###########################################################################
+ # CFLAGS set it for optimization #
+ # LDFLAGS set it for link method #
+ ###########################################################################
+-CFLAGS = -Wall -O2 -fomit-frame-pointer -fcaller-saves\
+- -DNDEBUG=1 $(CDEFOS) $(CDEFSYS)
++CFLAGS+= -Wall \
++ -DNDEBUG=1 $(CDEFOS) $(CDEFSYS) $(CSYSFLAGS)
+ #-ffunction-sections
+ LDFLAGS = -s $(OSLDEF)
+