summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2021-09-08 00:48:23 +0200
committerLouis Sautier <sbraz@gentoo.org>2021-09-08 23:39:02 +0200
commitf87696bda2d6580aac1762fd96c5cfc95b7090ce (patch)
tree16e6417a6d012188ab8dd2545982c4a720ea99ad /app-misc/rmlint/files/rmlint-2.10.1-cflags.patch
parentdev-python/hypothesis: Bump to 6.19.0 (diff)
downloadgentoo-f87696bda2d6580aac1762fd96c5cfc95b7090ce.tar.gz
gentoo-f87696bda2d6580aac1762fd96c5cfc95b7090ce.tar.bz2
gentoo-f87696bda2d6580aac1762fd96c5cfc95b7090ce.zip
app-misc/rmlint: initial import, v2.10.1
Closes: https://bugs.gentoo.org/560390 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'app-misc/rmlint/files/rmlint-2.10.1-cflags.patch')
-rw-r--r--app-misc/rmlint/files/rmlint-2.10.1-cflags.patch18
1 files changed, 18 insertions, 0 deletions
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")