bcc only works in 32-bit mode, so force it.

This commit is contained in:
Joerg Wunsch 2016-11-07 20:45:29 +00:00
parent ee79265151
commit 1dfb169b89
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425650
4 changed files with 4 additions and 3 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= bcc
PORTVERSION= 1995.03.12
PORTREVISION= 1
CATEGORIES= devel lang
DISTNAME= ${PORTNAME}

View file

@ -5,7 +5,7 @@
+.include "../Makefile.inc"
+.PATH: ../ld
+
+CFLAGS +=-Wall
+CFLAGS +=-Wall -m32
LDFLAGS =
-OBJS =as.o assemble.o error.o express.o \

View file

@ -4,7 +4,7 @@
-CFLAGS =-O -DNSIG=32
+.include "../Makefile.inc"
+
+CFLAGS +=-DNSIG=32
+CFLAGS +=-DNSIG=32 -m32
+#CFLAGS +=-Wall # too many warnings
LDFLAGS =

View file

@ -7,7 +7,7 @@
-OBJS =dumps.o io.o ld.o readobj.o table.o typeconv.o writebin.o
+CFLAGS +=-DBSD_A_OUT -DSTANDARD_GNU_A_OUT
+CFLAGS +=-Wall
+CFLAGS +=-Wall -m32
+LDFLAGS =
-ld: $(OBJS)