summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-03-02 02:29:39 +0000
committerPeter Jones <pjones@redhat.com>2005-03-02 02:29:39 +0000
commita04619e231e733ae8918ac7fefddc063c2a8b1da (patch)
treed4e32a4a82086bf349d7033618bcf6ac333adce8 /stubs
parent40fd19c8bd26cadb95528e54a534f0d68b2c8188 (diff)
downloadanaconda-a04619e231e733ae8918ac7fefddc063c2a8b1da.tar.gz
anaconda-a04619e231e733ae8918ac7fefddc063c2a8b1da.tar.xz
anaconda-a04619e231e733ae8918ac7fefddc063c2a8b1da.zip
Add -D_FORTIFY_SOURCE=2 everywhere. Let's see if it actually works...
Also, make genhdlist.o build with -Wno-return-type, because rpm's headers and gcc4 don't get along.
Diffstat (limited to 'stubs')
-rw-r--r--stubs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/Makefile b/stubs/Makefile
index 94158289a..e424e6fac 100644
--- a/stubs/Makefile
+++ b/stubs/Makefile
@@ -7,7 +7,7 @@ TARGETS= $(LIBUTF8)
all: $(TARGETS)
$(LIBUTF8): unicode-lite.c
- gcc -fPIC -shared -o $@ $< -lwlite
+ gcc -fPIC -shared -o $@ $< -lwlite -D_FORTIFY_SOURCE=2
clean:
rm -f *.so.* *.o