[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hardening powder



On Fri, May 10, 2013 at 07:38:01PM +1000, Steven Hamilton wrote:
> PIE and Immediate binding I just can't seem to do. During
> compilation I can see the following in the final executable so it
> looks like the correct args are being passed.
Wht args are you calling correct? There is nothing there about PIE (and
can't be, it's a compiler option) or bindnow.

> Here's my rules file;
> 
> #!/usr/bin/make -f
> # Uncomment this to turn on verbose mode.
> export DH_VERBOSE=1
> CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
> CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
> LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
> 
> %:
> 	dh $@
> 
> override_dh_auto_build:
> 	dh_testdir
> 	echo "export LDFLAGS="$LDFLAGS /
> 	echo "export CXXFLAGS="$CXXFLAGS /
> 	bash -ex ./buildall.sh	
> 
> clean:
> 	dh_testdir
> 	dh_testroot
> 	rm -f *.o */*.o */*/*.o rooms/*.cpp rooms/allrooms.h gfx/*.c gfx/*/*.c
> 	rm -f license.cpp glbdef.cpp glbdef.h encyclopedia.cpp encyclopedia.h
> 	rm -f credits.cpp gfx/akoi3x/sprite16_3x.bmp
> 	rm -f powder port/linux/powder support/bmp2c/bmp2c
> support/encyclopedia2c/encyclopedia2c support/enummaker/enummaker
> support/map2c/map2c support/tile2c/tile2c support/txt2c/txt2c
> port/linux/libstdc++.a
> 	dh_clean
bindnow and pie are disabled by default and you are not enabling them.

-- 
WBR, wRAR

Attachment: signature.asc
Description: Digital signature


Reply to: