Changeset View
Changeset View
Standalone View
Standalone View
databases/postgresql-plv8js/Makefile
| Show All 16 Lines | |||||
| USES= compiler:c++17-lang gmake pgsql | USES= compiler:c++17-lang gmake pgsql | ||||
| USE_GITHUB= yes | USE_GITHUB= yes | ||||
| PLIST_SUB= PORTVERSION="${PORTVERSION}" | PLIST_SUB= PORTVERSION="${PORTVERSION}" | ||||
| .include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
| CXXFLAGS+= -std=c++17 -fno-rtti | CXXFLAGS+= -std=c++17 -fno-rtti | ||||
| # Only for 64-bit architectures | # Only for 64-bit architectures | ||||
| .if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != powerpc && ${ARCH} != powerpcspe | .if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc && ${ARCH} != powerpcspe | ||||
| CXXFLAGS+= -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1 | CXXFLAGS+= -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1 | ||||
| .endif | .endif | ||||
| MAKE_ARGS= CUSTOM_CC=${CXX} CCFLAGS="${CXXFLAGS}" | MAKE_ARGS= CUSTOM_CC=${CXX} CCFLAGS="${CXXFLAGS}" | ||||
| .include <bsd.port.mk> | .include <bsd.port.mk> | ||||