[Scummvm-git-logs] scummvm-tools master -> 69b15789f6c82bcb93316aa2b6242f0b4256ec42

lephilousophe noreply at scummvm.org
Mon Jan 2 10:09:22 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .

Summary:
69b15789f6 CONFIGURE: Use stack protector in AmigaOS


Commit: 69b15789f6c82bcb93316aa2b6242f0b4256ec42
    https://github.com/scummvm/scummvm-tools/commit/69b15789f6c82bcb93316aa2b6242f0b4256ec42
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2023-01-02T11:09:19+01:00

Commit Message:
CONFIGURE: Use stack protector in AmigaOS

FLAC library got compiled with it and others may follow.
This makes sure all needed libraries are bundled in the resulting binaries.

Changed paths:
    configure


diff --git a/configure b/configure
index 31ad6db9..e45e28f6 100755
--- a/configure
+++ b/configure
@@ -1183,12 +1183,13 @@ echo $_host_os
 case $_host_os in
 	amigaos*)
 		add_line_to_config_mk 'AMIGAOS = 1'
-		LDFLAGS="$LDFLAGS -L/sdk/local/newlib/lib"
 		# Use 'long' for ScummVM's 4 byte typedef, because AmigaOS
 		# already typedefs (u)int32 as (unsigned) long and suppress
 		# those noisy format warnings caused by the 'long' 4 byte
 		type_4_byte='long'
 		CXXFLAGS="$CXXFLAGS -Wno-format"
+		# Dependencies might also be compiled with stack protection
+		LDFLAGS="$LDFLAGS -L/sdk/local/newlib/lib -fstack-protector"
 		;;
 	beos*)
 		DEFINES="$DEFINES -DSYSTEM_NOT_SUPPORTING_D_TYPE"




More information about the Scummvm-git-logs mailing list