Moved -DPIC from generic Makefile to machine-specific Makefiles to
allow machines without PIC support to compile cleanly.
This commit is contained in:
parent
a0e7e031f6
commit
1acdc0922d
|
@ -1,5 +1,5 @@
|
|||
# from: @(#)Makefile 6.1 (Berkeley) 3/3/91
|
||||
# $Id: Makefile,v 1.11 1993/12/05 00:54:33 cgd Exp $
|
||||
# $Id: Makefile,v 1.12 1993/12/19 04:35:57 davidb Exp $
|
||||
|
||||
.include "config/Makefile.$(MACHINE_ARCH)"
|
||||
|
||||
|
@ -25,7 +25,7 @@ SRCS+= app.c as.c atof-generic.c bignum-copy.c \
|
|||
symbols.c version.c write.c xmalloc.c xrealloc.c \
|
||||
obj-$(gas_objformat).c
|
||||
CFLAGS+= -I$(.CURDIR) ${ADDINCLUDE} -I$(.CURDIR)/config \
|
||||
-DPIC -DOLD_GAS -DSIGTY=void -Derror=as_fatal
|
||||
-DOLD_GAS -DSIGTY=void -Derror=as_fatal
|
||||
#LDADD+= -lgnumalloc
|
||||
DPADD+= /usr/lib/libgnumalloc.a
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# from: @(#)Makefile.i386 6.1 (Berkeley) 3/3/91
|
||||
# $Id: Makefile.i386,v 1.3 1993/10/02 20:58:21 pk Exp $
|
||||
# $Id: Makefile.i386,v 1.4 1993/12/19 04:36:19 davidb Exp $
|
||||
|
||||
CFLAGS+= -DNON_BROKEN_WORDS
|
||||
CFLAGS+= -DNON_BROKEN_WORDS -DPIC
|
||||
SRCS+= tc-i386.c atof-ieee.c
|
||||
|
|
Loading…
Reference in New Issue