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:
@@ -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 $@ $<
|
||||
|
Reference in New Issue
Block a user