summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-12-24 23:19:14 +0000
committerRichard M. Stallman <rms@gnu.org>1995-12-24 23:19:14 +0000
commit6289479d590504565469292e6d04dae6dc0e9518 (patch)
tree11184636d23a0795b8618937900927639430fa7a /src/s
parent667dfeec1161474937ecc3e12f74653a0991184c (diff)
downloademacs-6289479d590504565469292e6d04dae6dc0e9518.tar.gz
(STATIC_OPTION): For GCC, use -Xlinker.
(DYNAMIC_OPTION): Define like STATIC_OPTION.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/sol2-5.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/s/sol2-5.h b/src/s/sol2-5.h
index 26986d433e6..944ec5e526d 100644
--- a/src/s/sol2-5.h
+++ b/src/s/sol2-5.h
@@ -9,7 +9,9 @@
#define LIBXT_STATIC
#ifdef __GNUC__
-#define STATIC_OPTION -static
+#define STATIC_OPTION -Xlinker -Bstatic
+#define DYNAMIC_OPTION -Xlinker -Bdynamic
#else
#define STATIC_OPTION -Bstatic
+#define DYNAMIC_OPTION -Bdynamic
#endif