Files
guru/dev-R/ps/files/ps-1.7.0-fPIE.patch
Alessandro Barbieri 4a5d3f3fe6 dev-R/ps: new version
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-04-24 02:38:31 +02:00

16 lines
425 B
Diff

--- 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