mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
e552c49538
28f17c1a6de7b50482d8f55fe03698126862e8eb build: fix copypasta in OpenBSD C{XX} flags (fanquake) Pull request description: Introduced in #23998. ACKs for top commit: hebasto: ACK 28f17c1a6de7b50482d8f55fe03698126862e8eb, I have reviewed the code and it looks OK, not tested on OpenBSD though. Tree-SHA512: d905161534075f518c8924d3c42cca7ff8d4898e559f1daa9bd03dac95b109b2c3e76790fb8bc65b9e45e8a59566825afbf4dc3734ad74617dfdf797430e486b
32 lines
766 B
Makefile
32 lines
766 B
Makefile
openbsd_CFLAGS=-pipe
|
|
openbsd_CXXFLAGS=$(openbsd_CFLAGS)
|
|
|
|
openbsd_release_CFLAGS=-O2
|
|
openbsd_release_CXXFLAGS=$(openbsd_release_CFLAGS)
|
|
|
|
openbsd_debug_CFLAGS=-O1
|
|
openbsd_debug_CXXFLAGS=$(openbsd_debug_CFLAGS)
|
|
|
|
ifeq (86,$(findstring 86,$(build_arch)))
|
|
i686_openbsd_CC=clang -m32
|
|
i686_openbsd_CXX=clang++ -m32
|
|
i686_openbsd_AR=ar
|
|
i686_openbsd_RANLIB=ranlib
|
|
i686_openbsd_NM=nm
|
|
i686_openbsd_STRIP=strip
|
|
|
|
x86_64_openbsd_CC=clang -m64
|
|
x86_64_openbsd_CXX=clang++ -m64
|
|
x86_64_openbsd_AR=ar
|
|
x86_64_openbsd_RANLIB=ranlib
|
|
x86_64_openbsd_NM=nm
|
|
x86_64_openbsd_STRIP=strip
|
|
else
|
|
i686_openbsd_CC=$(default_host_CC) -m32
|
|
i686_openbsd_CXX=$(default_host_CXX) -m32
|
|
x86_64_openbsd_CC=$(default_host_CC) -m64
|
|
x86_64_openbsd_CXX=$(default_host_CXX) -m64
|
|
endif
|
|
|
|
openbsd_cmake_system=OpenBSD
|