Remove the (optimize("Os") line.
This commit is contained in:
parent
1af9527b35
commit
2f797b7f24
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2018/04/26 13:05:38 danj Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2018/08/01 22:39:13 juanfra Exp $
|
||||
|
||||
COMMENT = multidict implementation
|
||||
|
||||
MODPY_EGG_VERSION = 4.2.0
|
||||
REVISION = 0
|
||||
DISTNAME = multidict-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
CATEGORIES = www devel
|
||||
|
16
www/py-multidict/patches/patch-multidict__multidict_c
Normal file
16
www/py-multidict/patches/patch-multidict__multidict_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-multidict__multidict_c,v 1.1 2018/08/01 22:39:13 juanfra Exp $
|
||||
|
||||
Os breaks the build on GCC4 platforms.
|
||||
|
||||
Index: multidict/_multidict.c
|
||||
--- multidict/_multidict.c.orig
|
||||
+++ multidict/_multidict.c
|
||||
@@ -20116,8 +20116,6 @@ static int __Pyx_modinit_function_import_code(void) {
|
||||
#ifndef CYTHON_SMALL_CODE
|
||||
#if defined(__clang__)
|
||||
#define CYTHON_SMALL_CODE
|
||||
-#elif defined(__GNUC__)
|
||||
- #define CYTHON_SMALL_CODE __attribute__((optimize("Os")))
|
||||
#else
|
||||
#define CYTHON_SMALL_CODE
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user