diff options
author | Jakub Bogusz | 2003-12-06 23:14:48 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 5eeb22d9b1618ec77195fec0394ba12eb35c4be7 (patch) | |
tree | 857ca4b4ec0d9f283e14e190394da708c2641961 | |
download | gai-5eeb22d9b1618ec77195fec0394ba12eb35c4be7.zip gai-5eeb22d9b1618ec77195fec0394ba12eb35c4be7.tar.gz |
- allow passing optflags, use -fPIC for shared lib objects
Changed files:
gai-opt.patch -> 1.1
-rw-r--r-- | gai-opt.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gai-opt.patch b/gai-opt.patch new file mode 100644 index 0000000..8bee49d --- /dev/null +++ b/gai-opt.patch @@ -0,0 +1,11 @@ +--- gai-0.5.0pre6/gai/Makefile.in.orig 2003-11-10 20:18:41.000000000 +0100 ++++ gai-0.5.0pre6/gai/Makefile.in 2003-12-06 23:11:08.440814408 +0100 +@@ -2,7 +2,7 @@ + # Makefile for the General Applet Interface + + # @GNOME_24@ - More broken than ever. +-CFLAGS = -Wall -O3 -D@HOST@ @GL@ @GTK@ @GNOME@ @GTK_CFLAGS@ @GNOME_CFLAGS@ @GL_CFLAGS@ -DVERSION="\"@GAI_VERSION@\"" ++CFLAGS = -Wall $(OPT) -fPIC -D@HOST@ @GL@ @GTK@ @GNOME@ @GTK_CFLAGS@ @GNOME_CFLAGS@ @GL_CFLAGS@ -DVERSION="\"@GAI_VERSION@\"" + LDFLAGS = -fPIC -shared -Wl,-soname=libgai.so.@GAI_MAJOR@ @GTK_LIBS@ @GNOME_LIBS@ @GL_LIBS@ + CC = @CC@ + OBJS = gai.o gai-debug.o gai-draw.o gai-info.o gai-gnome.o gai-dockapp.o gai-settings.o gai-pref.o @GNOME_CONFIG@ |