summaryrefslogtreecommitdiff
path: root/gdk/makegdkalias.pl
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-09-15 02:03:58 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-09-15 02:03:58 +0000
commitcb42ec588c4dd9e729eca5efc760ee6e7e4012c1 (patch)
tree80d48513132434e092dac4cd87146bf248f2b3bd /gdk/makegdkalias.pl
parent59207896851a3bc0cb46761d1baab0f478a65edb (diff)
downloadgtk+-cb42ec588c4dd9e729eca5efc760ee6e7e4012c1.tar.gz
New option --disable-visibility to disable the use of ELF visibility
Tue Sep 14 22:01:49 2004 Matthias Clasen <maclas@gmx.de> * configure.in: New option --disable-visibility to disable the use of ELF visibility attributes for PLT reduction. * gtk/makegtkalias.pl: * gdk/makegdkalias.pl: Respect the DISABLE_VISIBILITY define.
Diffstat (limited to 'gdk/makegdkalias.pl')
-rwxr-xr-xgdk/makegdkalias.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/makegdkalias.pl b/gdk/makegdkalias.pl
index ff945b30b7..330107b63e 100755
--- a/gdk/makegdkalias.pl
+++ b/gdk/makegdkalias.pl
@@ -3,6 +3,8 @@
print <<EOF;
/* Generated by makegdkalias.pl */
+#ifndef DISABLE_VISIBILITY
+
#include <glib.h>
#ifdef G_HAVE_GNUC_VISIBILITY
@@ -128,5 +130,7 @@ print <<EOF;
#endif
#endif /* G_HAVE_GNUC_VISIBILITY */
+
+#endif /* DISABLE_VISIBILITY */
EOF