forked from pool/python-rjsmin
Add reproducible.patch to build without profiling (boo#1040589) note: might need testing. OBS-URL: https://build.opensuse.org/request/show/703832 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rjsmin?expand=0&rev=7
22 lines
651 B
Diff
22 lines
651 B
Diff
Date: 2019-05-18
|
|
Author: Bernhard M. Wiedemann <bwiedemann suse de>
|
|
|
|
Do not instrument code with profiling
|
|
to make build reproducible
|
|
and also more sane in general
|
|
Index: rjsmin-53a0848b2372c1b49c03326bc8209ea39e889c47/debug.unix.cflags
|
|
===================================================================
|
|
--- rjsmin-53a0848b2372c1b49c03326bc8209ea39e889c47.orig/debug.unix.cflags
|
|
+++ rjsmin-53a0848b2372c1b49c03326bc8209ea39e889c47/debug.unix.cflags
|
|
@@ -1,10 +1,6 @@
|
|
# allow crash debugging
|
|
-ggdb
|
|
|
|
-# produce coverage reports
|
|
--ftest-coverage
|
|
--fprofile-arcs
|
|
-
|
|
# don't compile on weird code
|
|
-std=c89 -pedantic -fno-strict-aliasing -Werror
|
|
-Wall
|