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>2024-01-15 14:39:29 +0100
commitcae17a936184490b00cff32e78d4fa9bb248f340 (patch)
treef79b4ccaf08ff80deff0d568da46daec1a175f62
parentdistutils: make -OO enable both opt-1 and opt-2 optimization (diff)
downloadpypy-cae17a936184490b00cff32e78d4fa9bb248f340.tar.gz
pypy-cae17a936184490b00cff32e78d4fa9bb248f340.tar.bz2
pypy-cae17a936184490b00cff32e78d4fa9bb248f340.zip
_sysconfigdata: strip default CFLAGS and OPT
-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 ef73256f91..fb4faae70c 100644
--- a/lib_pypy/_sysconfigdata.py
+++ b/lib_pypy/_sysconfigdata.py
@@ -21,8 +21,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",