aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2003-06-05 16:07:25 +0000
committerPeter Eisentraut <peter_e@gmx.net>2003-06-05 16:07:25 +0000
commit1fed74f2576af8fe95d94c9a38ef2f125a916ad1 (patch)
treed39dcaa51fe1285ee5fd51af372b7b7d6dfc5738
parent53691902200f42ce70530ecc5edc7a96554ed265 (diff)
downloadpostgresql-1fed74f2576af8fe95d94c9a38ef2f125a916ad1.tar.gz
postgresql-1fed74f2576af8fe95d94c9a38ef2f125a916ad1.zip
Support for Intel compiler on Linux
-rw-r--r--src/include/storage/s_lock.h4
-rw-r--r--src/makefiles/Makefile.linux2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 0e7ba0c5d45..b26c63029ad 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -63,7 +63,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: s_lock.h,v 1.106 2003/04/20 21:54:34 tgl Exp $
+ * $Id: s_lock.h,v 1.107 2003/06/05 16:07:25 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -76,7 +76,7 @@
#if defined(HAS_TEST_AND_SET)
-#if defined(__GNUC__)
+#if defined(__GNUC__) || defined(__ICC)
/*************************************************************************
* All the gcc inlines
*/
diff --git a/src/makefiles/Makefile.linux b/src/makefiles/Makefile.linux
index c40355240b2..e48ad5a6b10 100644
--- a/src/makefiles/Makefile.linux
+++ b/src/makefiles/Makefile.linux
@@ -1,5 +1,5 @@
AROPT = crs
-export_dynamic = -export-dynamic
+export_dynamic = -Wl,-E
rpath = -Wl,-rpath,$(libdir)
shlib_symbolic = -Wl,-Bsymbolic
allow_nonpic_in_shlib = yes