--- builds/posix/prefix.freebsd 2021-05-29 10:05:05.000000000 -0500 +++ builds/posix/prefix.freebsd 2021-06-25 23:06:32.268522000 -0500 @@ -20,5 +20,14 @@ EXE_LINK_OPTIONS+=-Wl,-rpath,../gen/firebird/lib -PROD_FLAGS=-O -fno-builtin -DFREEBSD -pipe -MMD -fPIC -DEV_FLAGS=-ggdb -DFREEBSD -pipe -MMD -p -fPIC -Wall -Wno-non-virtual-dtor +COMMON_FLAGS=-DFREEBSD -pipe -MMD -fPIC +PROD_FLAGS=$(COMMON_FLAGS) -O0 -g -fno-builtin -Wno-deprecated +DEV_FLAGS=$(COMMON_FLAGS) -ggdb -p -Wall -Wno-non-virtual-dtor + +# This file must be compiled with SSE4.2 support +%/CRC32C.o: COMMON_FLAGS += -msse4 + +# These files are generated incorrectly (e.g. array.epp => array.cpp) +%/array.o %/blob.o %/alice_meta.o %/restore.o %/backup.o: COMMON_FLAGS += -Wno-narrowing +%/OdsDetection.o %/dba.o: COMMON_FLAGS += -Wno-narrowing +