Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Aug 20, 2024
1 parent b28d4ef commit ffe0e69
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ if test "$use_hardening" != "no"; then
AX_CHECK_COMPILE_FLAG([-Wstack-protector], [HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -Wstack-protector"])
AX_CHECK_COMPILE_FLAG([-fstack-protector-all], [HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-protector-all"])

AX_CHECK_COMPILE_FLAG([-fcf-protection=none -fcf-protection=full], [HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fcf-protection=none -fcf-protection=full"])
AX_CHECK_COMPILE_FLAG([-fcf-protection=full], [HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fcf-protection=full"])
HARDENED_LDFLAGS="$HARDENED_LDFLAGS -Wl,-z,cet-report=error"

case $host in
Expand Down
4 changes: 2 additions & 2 deletions depends/packages/bdb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ $(package)_cppflags_netbsd=-D_XOPEN_SOURCE=600
$(package)_cppflags_mingw32=-DUNICODE -D_UNICODE

ifeq ($(NO_HARDEN),)
$(package)_cflags += -fcf-protection=none -fcf-protection=full
$(package)_cxxflags += -fcf-protection=none -fcf-protection=full
$(package)_cflags += -fcf-protection=full
$(package)_cxxflags += -fcf-protection=full
endif
endef

Expand Down
2 changes: 1 addition & 1 deletion depends/packages/libevent.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ define $(package)_set_vars

ifeq ($(NO_HARDEN),)
$(package)_cppflags+=-D_FORTIFY_SOURCE=3
$(package)_cflags += -fcf-protection=none -fcf-protection=full
$(package)_cflags += -fcf-protection=full
endif
endef

Expand Down
2 changes: 1 addition & 1 deletion depends/packages/libnatpmp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $(package)_build_subdir=build

define $(package)_set_vars
ifeq ($(NO_HARDEN),)
$(package)_cflags += -fcf-protection=none -fcf-protection=full
$(package)_cflags += -fcf-protection=full
endif
endef

Expand Down
2 changes: 1 addition & 1 deletion depends/packages/miniupnpc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $(package)_config_opts += -DUPNPC_BUILD_STATIC=ON -DUPNPC_BUILD_TESTS=OFF
$(package)_config_opts_mingw32 += -DMINIUPNPC_TARGET_WINDOWS_VERSION=0x0601

ifeq ($(NO_HARDEN),)
$(package)_cflags += -fcf-protection=none -fcf-protection=full
$(package)_cflags += -fcf-protection=full
endif
endef

Expand Down
2 changes: 1 addition & 1 deletion depends/packages/qrencode.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $(package)_config_opts += -DCMAKE_DISABLE_FIND_PACKAGE_ICONV=TRUE
$(package)_cflags += -Wno-int-conversion -Wno-implicit-function-declaration

ifeq ($(NO_HARDEN),)
$(package)_cflags += -fcf-protection=none -fcf-protection=full
$(package)_cflags += -fcf-protection=full
endif
endef

Expand Down
4 changes: 2 additions & 2 deletions depends/packages/qt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ $(package)_config_opts_mingw32 += -ltcg
endif

ifeq ($(NO_HARDEN),)
$(package)_cflags += -fcf-protection=none -fcf-protection=full
$(package)_cxxflags += -fcf-protection=none -fcf-protection=full
$(package)_cflags += -fcf-protection=full
$(package)_cxxflags += -fcf-protection=full
endif
endef

Expand Down
2 changes: 1 addition & 1 deletion depends/packages/sqlite.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $(package)_cppflags+=-DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_JSON -DSQLITE_LIKE
$(package)_cppflags+=-DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_AUTOINIT

ifeq ($(NO_HARDEN),)
$(package)_cflags += -fcf-protection=none -fcf-protection=full
$(package)_cflags += -fcf-protection=full
endif
endef

Expand Down
2 changes: 1 addition & 1 deletion depends/packages/zeromq.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ define $(package)_set_vars
$(package)_config_opts_mingw32 += -DZMQ_WIN32_WINNT=0x0601 -DZMQ_HAVE_IPC=OFF

ifeq ($(NO_HARDEN),)
$(package)_cxxflags += -fcf-protection=none -fcf-protection=full
$(package)_cxxflags += -fcf-protection=full
endif
endef

Expand Down

0 comments on commit ffe0e69

Please sign in to comment.