1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Separate CFLAGS_SL and CXXFLAGS_SL, to allow building with C and C++

compilers from different providers.  (Especially important since the
C++ compiler that goes with your favourite C compiler might not work.)
This commit is contained in:
Peter Eisentraut
2000-11-04 16:35:55 +00:00
parent 1fdf2edc9d
commit c7a794998a
6 changed files with 31 additions and 12 deletions

View File

@@ -7,6 +7,11 @@ CFLAGS_SL = -fpic
else
CFLAGS_SL = -K PIC
endif
ifeq ($(GXX), yes)
CXXFLAGS_SL = -fpic
else
CXXFLAGS_SL = -K PIC
endif
%.so: %.o
$(LD) -G -Bdynamic -o $@ $<