Copy from devel:languages:python:Factory/python based on submit request 30832 from user matejcik OBS-URL: https://build.opensuse.org/request/show/30832 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=42
14 lines
537 B
Diff
14 lines
537 B
Diff
Index: Makefile.pre.in
|
|
===================================================================
|
|
--- Makefile.pre.in.orig
|
|
+++ Makefile.pre.in
|
|
@@ -57,7 +57,7 @@ MAKESETUP= $(srcdir)/Modules/makese
|
|
# Compiler options
|
|
OPT= @OPT@
|
|
BASECFLAGS= @BASECFLAGS@
|
|
-CFLAGS= $(BASECFLAGS) $(OPT) $(EXTRA_CFLAGS)
|
|
+CFLAGS= $(BASECFLAGS) $(OPT) -fwrapv $(EXTRA_CFLAGS)
|
|
# Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
|
|
# be able to build extension modules using the directories specified in the
|
|
# environment variables
|