Blob Blame History Raw
diff --git a/Programs/Makefile.in b/Programs/Makefile.in
index 33d8c8a..622f206 100644
--- a/Programs/Makefile.in
+++ b/Programs/Makefile.in
@@ -475,7 +475,7 @@ BRLTTY_OBJECTS = main.$O $(CORE_OBJECTS)
 BRLTTY_LIBRARIES = $(BRAILLE_DRIVER_LIBRARIES) $(SPEECH_DRIVER_LIBRARIES) $(SCREEN_DRIVER_LIBRARIES) $(USB_LIBS) $(BLUETOOTH_LIBS) $(ICU_LIBRARIES) $(LDLIBS)
 
 brltty$X: $(BRLTTY_OBJECTS)
-	$(CC) $(LDFLAGS) -o $@ $(BRLTTY_OBJECTS) $(BRLTTY_LIBRARIES)
+	$(CC) $(LDFLAGS) -pie -Wl,-z,relro,-z,now -o $@ $(BRLTTY_OBJECTS) $(BRLTTY_LIBRARIES)
 
 main.$O:
 	$(CC) $(CFLAGS) -c $(SRC_DIR)/main.c