From 677b7ba5c317778df2ad7e70df94b9b7eec4adbc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 10 Sep 2021 04:21:55 +0100 Subject: gentoo resync : 10.09.2021 --- app-misc/rmlint/files/rmlint-2.10.1-cflags.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app-misc/rmlint/files/rmlint-2.10.1-cflags.patch (limited to 'app-misc/rmlint/files/rmlint-2.10.1-cflags.patch') diff --git a/app-misc/rmlint/files/rmlint-2.10.1-cflags.patch b/app-misc/rmlint/files/rmlint-2.10.1-cflags.patch new file mode 100644 index 000000000000..6ddfd98d956a --- /dev/null +++ b/app-misc/rmlint/files/rmlint-2.10.1-cflags.patch @@ -0,0 +1,18 @@ +--- a/SConstruct ++++ b/SConstruct +@@ -724,7 +724,6 @@ if ARGUMENTS.get('DEBUG') == "1": + O_value = ARGUMENTS.get('O', O_DEBUG) + else: + conf.env.Append(CCFLAGS=['-DG_DISABLE_ASSERT', '-DNDEBUG']) +- conf.env.Append(LINKFLAGS=['-s']) + O_value = ARGUMENTS.get('O', O_RELEASE) + + if O_value == 'debug': +@@ -735,7 +734,6 @@ elif O_value == 'release': + cc_O_option = '-O' + O_value + + print("Using compiler optimisation {} (to change, run scons with O=[0|1|2|3|s|fast])".format(cc_O_option)) +-conf.env.Append(CCFLAGS=[cc_O_option]) + + if ARGUMENTS.get('SYMBOLS') == '1': + print("Compiling with debugging symbols") -- cgit v1.2.3