- # set OPT to the python default without -O3
- # our CFLAGS are used as well
- OPT="-Wall -Wstrict-prototypes -fwrapv" \
+ # remove 2to3, we use the one from python3
+ rm -r Lib/lib2to3
+
+ # remove tests
+ rm -r Lib/{bsddb,ctypes,email,lib-tk,sqlite3,unittest}/test
+ rm -r Lib/{{distutils,json}/tests,idlelib/idle_test,test}
+