Added PIC flags to c compile statement. They were left out in
some places.
This commit is contained in:
parent
af7a31fbc1
commit
c731d5a03c
3 changed files with 4 additions and 7 deletions
|
|
@ -1,11 +1,8 @@
|
|||
#/bin/sh
|
||||
#/bin/sh
|
||||
#
|
||||
# $Source$
|
||||
# $Author$
|
||||
# $Revision$
|
||||
# $Date$
|
||||
# $License$
|
||||
#
|
||||
|
||||
.SUFFIXES :
|
||||
|
|
@ -32,7 +29,7 @@ PIC_FLAG=@PIC@
|
|||
CXX_FLAGS = @CXXFLAGS@ $(CXX_OPT) $(PIC_FLAG)
|
||||
|
||||
# C compile flags
|
||||
CFLAGS = @CFLAGS@
|
||||
CFLAGS = @CFLAGS@ $(CXX_OPT) $(PIC_FLAG)
|
||||
|
||||
# Local include files
|
||||
CXX_INCLUDES=-I../f2c_libs
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ PIC_FLAG=@PIC@
|
|||
CXX_FLAGS = @CXXFLAGS@ $(PIC_FLAG)
|
||||
|
||||
# C compile flags
|
||||
CFLAGS = @CFLAGS@
|
||||
CFLAGS = @CFLAGS@ $(PIC_FLAG)
|
||||
|
||||
# Local include files
|
||||
CXX_INCLUDES=-I../f2c_libs
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ all: $(TPLIB) .depends
|
|||
%.d: Makefile %.o
|
||||
@CXX_DEPENDS@ $(CXX_INCLUDES) $*.cpp > $*.d
|
||||
|
||||
.cpp.o:
|
||||
.cpp.o:
|
||||
$(PURIFY) @CXX@ -c $< @DEFS@ $(CXX_FLAGS) $(CXX_INCLUDES)
|
||||
|
||||
.f.o:
|
||||
|
|
@ -44,7 +44,7 @@ clean:
|
|||
depends:
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
.depends: $(DEPENDS)
|
||||
cat *.d > .depends
|
||||
|
||||
$(COBJS): Makefile
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue