diff options
author | Peter Jones <pjones@redhat.com> | 2005-03-02 02:29:39 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2005-03-02 02:29:39 +0000 |
commit | a04619e231e733ae8918ac7fefddc063c2a8b1da (patch) | |
tree | d4e32a4a82086bf349d7033618bcf6ac333adce8 /Makefile | |
parent | 40fd19c8bd26cadb95528e54a534f0d68b2c8188 (diff) | |
download | anaconda-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-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |