瀏覽代碼

enable stack protector and compile to position independent executable

master
Aaron Marcher 7 年之前
父節點
當前提交
ac1a57ec30
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 74B048E5C2474F9A
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      config.mk

+ 1
- 1
config.mk 查看文件

@@ -11,7 +11,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11

CPPFLAGS = -D_GNU_SOURCE
# -Wno-unused-function for routines not activated by user
CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -Os ${INCS} ${CPPFLAGS}
CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -Os -fstack-protector-strong -fstack-check -fPIE ${INCS} ${CPPFLAGS}
LDFLAGS = ${LIBS}

CC = cc


Loading…
取消
儲存