aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-02 19:40:08 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-11 11:07:37 +0100
commitf94da72dd3d96fa67eb7fe6ede236026fd5facbd (patch)
treeace7128a3a5a11e11ed45c1edd3d1b1ff8c2b8f5
parentdistutils: make -OO enable both opt-1 and opt-2 optimization (diff)
downloadpypy-gentoo-3.9-7.3.8rc2.tar.gz
pypy-gentoo-3.9-7.3.8rc2.tar.bz2
pypy-gentoo-3.9-7.3.8rc2.zip
_sysconfigdata: strip default CFLAGS and OPTgentoo-3.9-7.3.8rc2
-rw-r--r--lib_pypy/_sysconfigdata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_pypy/_sysconfigdata.py b/lib_pypy/_sysconfigdata.py
index 8deb672ef1..b47be6913d 100644
--- a/lib_pypy/_sysconfigdata.py
+++ b/lib_pypy/_sysconfigdata.py
@@ -20,8 +20,8 @@ build_time_vars = {
'MULTIARCH': sys.implementation._multiarch,
'CC': "cc -pthread",
'CXX': "c++ -pthread",
- 'OPT': "-DNDEBUG -O2",
- 'CFLAGS': "-DNDEBUG -O2",
+ 'OPT': "",
+ 'CFLAGS': "",
'CCSHARED': "-fPIC",
'LDFLAGS': "-Wl,-Bsymbolic-functions",
'LDSHARED': "cc -pthread -shared -Wl,-Bsymbolic-functions",