aarch64 needs -O1 for both C and C++ files
This commit is contained in:
parent
a60e5912e0
commit
dbca67a9a9
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2019/08/10 10:03:41 tb Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2019/08/10 22:23:11 phessler Exp $
|
||||
|
||||
COMMENT = c++ protocol buffers
|
||||
|
||||
V = 3.9.1
|
||||
DISTNAME = protobuf-cpp-$V
|
||||
PKGNAME = protobuf-$V
|
||||
REVISION = 0
|
||||
|
||||
WRKDIST = ${WRKDIR}/protobuf-${V}
|
||||
|
||||
@ -35,6 +36,7 @@ CONFIGURE_ARGS += --with-zlib
|
||||
# e.g. as seen while building dnsdist and mosh.
|
||||
# https://marc.info/?l=openbsd-ports&m=156363469501634&w=2
|
||||
CFLAGS := ${CFLAGS:S/-O2/-O1/}
|
||||
CXXFLAGS := ${CXXFLAGS:S/-O2/-O1/}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user