summaryrefslogtreecommitdiffstats
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b01900b49..c1274d69f 100644
--- a/Makefile
+++ b/Makefile
@@ -29,14 +29,14 @@ locale-list:
PYTHONPATH="." $(PYTHON) scripts/genlocalelist.py > locale-list
mini-wm: mini-wm.c
- gcc -o mini-wm mini-wm.c `pkg-config gtk+-x11-2.0 --cflags --libs` -Wall -Werror
+ gcc -o mini-wm mini-wm.c `pkg-config gtk+-x11-2.0 --cflags --libs` -Wall -Werror -D_FORTIFY_SOURCE=2
xmouse.so: xmouse.c
- gcc -Wall -o xmouse.o -fPIC -I/usr/X11R6/include -I$(PYTHONINCLUDE) -I $(PYTHONINCLUDE) -c xmouse.c -Wall -Werror
+ gcc -Wall -o xmouse.o -fPIC -I/usr/X11R6/include -I$(PYTHONINCLUDE) -I $(PYTHONINCLUDE) -c xmouse.c -Wall -Werror -D_FORTIFY_SOURCE=2
gcc -o xmouse.so -shared xmouse.o -L/usr/X11R6/$(LIBDIR) -lXxf86misc -lX11 -lXext
xutils.so: xutils.c
- gcc -ggdb -Wall -o xutils.o -fPIC -I/usr/X11R6/include -I$(PYTHONINCLUDE) -I $(PYTHONINCLUDE) -c xutils.c -Wall -Werror
+ gcc -ggdb -Wall -o xutils.o -fPIC -I/usr/X11R6/include -I$(PYTHONINCLUDE) -I $(PYTHONINCLUDE) -c xutils.c -Wall -Werror -D_FORTIFY_SOURCE=2
gcc -o xutils.so -shared xutils.o -ggdb -L/usr/X11R6/$(LIBDIR) -lX11
depend: