aboutsummaryrefslogtreecommitdiff
blob: eeb966bfdcb284fef0ddecce39ea073d285ef5a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/src/Makevars.in
+++ b/src/Makevars.in
@@ -8,10 +8,10 @@
 all: px @TARGETS@ $(SHLIB)
 
 px: px.c
-	$(CC) $(CFLAGS) $(LDFLAGS) -Wall px.c -o px
+	$(CC) $(CFLAGS) $(LDFLAGS) -fPIE -Wall px.c -o px
 
 interrupt: interrupt.c
-	$(CC) $(CFLAGS) $(LDFLAGS) -Wall interrupt.c -o interrupt
+	$(CC) $(CFLAGS) $(LDFLAGS) -fPIE -Wall interrupt.c -o interrupt
 
 clean:
 	rm -rf $(SHLIB) $(OBJECTS) px.exe px interrupt.exe interrupt