File reproducible.patch of Package python-rjsmin
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-1.2.0/debug.unix.cflags
===================================================================
--- rjsmin-1.2.0.orig/debug.unix.cflags
+++ rjsmin-1.2.0/debug.unix.cflags
@@ -1,28 +0,0 @@
-# allow crash debugging
--ggdb
-
-# produce coverage reports
--ftest-coverage
--fprofile-arcs
-
-# don't compile on weird code
--std=c99 -pedantic -fno-strict-aliasing -Werror
--Wall
--Wbad-function-cast
--Wcast-align
--Wcast-qual
--Wconversion
--Wdeclaration-after-statement
--Wextra
--Winit-self
--Wmissing-declarations
-# -Wmissing-include-dirs
--Wmissing-prototypes
--Wnested-externs
--Wno-long-long
--Wno-missing-field-initializers
--Wno-overlength-strings
--Wno-unused-parameter
--Wshadow
--Wstrict-overflow=4
--Wundef