forked from pool/python-rjsmin
40 lines
991 B
Diff
40 lines
991 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,28 +0,0 @@
|
|
-# 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
|
|
--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
|