build: correct depends FreeBSD C{XX}FLAGS

This commit is contained in:
fanquake 2022-02-14 16:33:42 +00:00
parent 7b06ffce9c
commit bcd36e14f0
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -1,11 +1,11 @@
freebsd_CFLAGS=-pipe
freebsd_CFLAGS_CXXFLAGS=$(freebsd_CFLAGS)
freebsd_CXXFLAGS=$(freebsd_CFLAGS)
freebsd_CFLAGS_release_CFLAGS=-O2
freebsd_CFLAGS_release_CXXFLAGS=$(freebsd_release_CFLAGS)
freebsd_release_CFLAGS=-O2
freebsd_release_CXXFLAGS=$(freebsd_release_CFLAGS)
freebsd_CFLAGS_debug_CFLAGS=-O1
freebsd_CFLAGS_debug_CXXFLAGS=$(freebsd_debug_CFLAGS)
freebsd_debug_CFLAGS=-O1
freebsd_debug_CXXFLAGS=$(freebsd_debug_CFLAGS)
ifeq (86,$(findstring 86,$(build_arch)))
i686_freebsd_CC=clang -m32