summaryrefslogtreecommitdiff
path: root/textproc/py-html5-parser/patches/patch-setup.py
blob: 59caef3725c4bd2579792669d29cda33e58397b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-setup.py,v 1.1 2019/08/11 18:16:40 adam Exp $

Do not use -O3.

--- setup.py.orig	2019-08-11 18:10:55.000000000 +0000
+++ setup.py
@@ -19,7 +19,7 @@ if True:
 del sys.path[0]
 
 src_files = tuple(chain(*map(lambda x: find_c_files(x)[0], SRC_DIRS)))
-cargs = ('/O2' if iswindows else '-O3').split()
+cargs = []
 if not iswindows:
     cargs.extend('-std=c99 -fvisibility=hidden'.split())