update ldflags

Sat, 25 Feb 2023 11:38:33 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 25 Feb 2023 11:38:33 +0100
changeset 457
982e67c997e1
parent 456
52a4e1ea043e
child 458
15bf3c1796f2

update ldflags

make/clang.mk file | annotate | diff | comparison | revisions
make/gcc.mk file | annotate | diff | comparison | revisions
make/suncc.mk file | annotate | diff | comparison | revisions
--- a/make/clang.mk	Fri Feb 24 09:19:19 2023 +0100
+++ b/make/clang.mk	Sat Feb 25 11:38:33 2023 +0100
@@ -4,9 +4,6 @@
 
 CFLAGS = -g
 LDFLAGS = -rdynamic
-#LDFLAGS = -rdynamic -Wl,-rpath,@loader_path/../lib
-LDFLAGS = -rpath @loader_path/../lib 
-
 
 SHLIB_CFLAGS = -fPIC
 SHLIB_LDFLAGS = -shared
--- a/make/gcc.mk	Fri Feb 24 09:19:19 2023 +0100
+++ b/make/gcc.mk	Sat Feb 25 11:38:33 2023 +0100
@@ -3,7 +3,7 @@
 #
 
 CFLAGS = -std=gnu99 -g
-LDFLAGS = -rdynamic -Wl,-R,'$$ORIGIN/../lib'
+LDFLAGS = -rdynamic 
 
 SHLIB_CFLAGS = -fPIC
 SHLIB_LDFLAGS = -shared
--- a/make/suncc.mk	Fri Feb 24 09:19:19 2023 +0100
+++ b/make/suncc.mk	Sat Feb 25 11:38:33 2023 +0100
@@ -3,7 +3,7 @@
 #
 
 CFLAGS += -xc99 -g -m64
-LDFLAGS += -m64 -Wl,-R,'$$ORIGIN/../lib'
+LDFLAGS += -m64 
 
 SHLIB_CFLAGS = -Kpic
 SHLIB_LDFLAGS = -G -m64

mercurial