Browse Source

Small linker changes

Author: jgg
Date: 1999-01-17 21:11:40 GMT
Small linker changes
debian/1.8.y
Arch Librarian 19 years ago
parent
commit
a9975068c7
  1. 1
      buildlib/environment.mak.in
  2. 2
      buildlib/program.mak

1
buildlib/environment.mak.in

@ -10,6 +10,7 @@ CXXFLAGS+= @CXXFLAGS@ @X_CFLAGS@
# Linker stuff
PICFLAGS+= -fPIC -DPIC
LFLAGS+= @LDFLAGS@
LEFLAGS+=
XLIBS:=@X_LIBS@ @X_PRE_LIBS@ @X11LIB@ @X_EXTRA_LIBS@
# Dep generation - this only works for gnu stuff

2
buildlib/program.mak

@ -31,7 +31,7 @@ veryclean/$(LOCAL): clean/$(LOCAL)
# The binary build rule
$($(LOCAL)-BIN): $($(LOCAL)-OBJS)
echo Building program $@
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(LFLAGS) -o $@ $(filter %.o,$^) $($(LOCAL)-SLIBS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(LFLAGS) -o $@ $(filter %.o,$^) $($(@F)-SLIBS) $(LEFLAGS)
# Compilation rules
vpath %.cc $(SUBDIRS)

Loading…
Cancel
Save