projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e30b283
)
This fixes the regression test .so builds on sysv5 systems:
author
Bruce Momjian
Thu, 6 Sep 2001 03:15:43 +0000
(
03:15
+0000)
committer
Bruce Momjian
Thu, 6 Sep 2001 03:15:43 +0000
(
03:15
+0000)
I believe this will fix peter_e's problen with gcc.
Larry Rosenman
src/makefiles/Makefile.unixware
patch
|
blob
|
blame
|
history
diff --git
a/src/makefiles/Makefile.unixware
b/src/makefiles/Makefile.unixware
index 0a437c9b0c38378a145740a1bbbe578b6410124d..f394e6191381dbebbb3c29a6302a6ac40729889b 100644
(file)
--- a/
src/makefiles/Makefile.unixware
+++ b/
src/makefiles/Makefile.unixware
@@
-16,8
+16,13
@@
CXXFLAGS_SL = -fpic
else
CXXFLAGS_SL = -K PIC
endif
+ifeq ($(GCC), yes)
+SO_FLAGS = -shared
+else
+SO_FLAGS = -G
+endif
%.so: %.o
- $(
LD) -G
-Bdynamic -o $@ $<
+ $(
CC) $(SO_FLAGS)
-Bdynamic -o $@ $<
sqlmansect = 5sql