altos/test: Disable position independent executables
authorKeith Packard <keithp@keithp.com>
Wed, 16 Nov 2016 21:59:54 +0000 (13:59 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:51 +0000 (11:16 -0800)
This makes debugging programs so much harder

src/test/Makefile

index df24c2b6e350166de5d91c460daa88c9c7b7c481..fae46ac8848b56be6bc8b40f91e45f4c27729b4a 100644 (file)
@@ -10,7 +10,7 @@ INCS=ao_kalman.h ao_ms5607.h ao_log.h ao_data.h altitude-pa.h altitude.h ao_quat
 
 KALMAN=make-kalman 
 
 
 KALMAN=make-kalman 
 
-CFLAGS=-I.. -I. -I../kernel -I../drivers -I../micropeak -I../product -I../lisp -O0 -g -Wall -DAO_LISP_TEST
+CFLAGS=-I.. -I. -I../kernel -I../drivers -I../micropeak -I../product -I../lisp -O3 -g -Wall -DAO_LISP_TEST -no-pie
 
 all: $(PROGS) ao_aprs_data.wav
 
 
 all: $(PROGS) ao_aprs_data.wav