1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/editors/biew/files/patch-ac
Chris D. Faulhaber 864f7eed85 Biew is Binary vIEWer with built-in editor for binary,
hexadecimal and disassembler modes. The program also has  text  viewer
with different  Russia  codepages  support  (Windows-1251,  MSDOS-866,
etc.).

PR:		17186
Submitted by:	Michael Vasilenko <acid@stu.cn.ua>
2000-03-20 23:51:37 +00:00

31 lines
1.2 KiB
Plaintext

--- 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)