Hash :
c2d8f8b5
Author :
Thomas de Grivel
Date :
2025-11-02T20:49:36
wip f80 vs f128
# -*- sh -*-
# Common config for all targets
CPPFLAGS="$CPPFLAGS -I${SRC_TOP} -DPIC"
CFLAGS="$CFLAGS -W -Wall -Werror -std=c11 -pedantic -pipe -pthread"
CFLAGS="$CFLAGS -fPIC"
CXXFLAGS="$CXXFLAGS -W -Wall -Werror -std=c++11 -pedantic -pipe"
CXXFLAGS="$CXXFLAGS -pthread -fPIC"
config_asan
config_gnu
config_i386
config_win32
config_win64
pkg_config libbsd-overlay
pkg_config libffi
pkg_config libmd
config_lib libmd -lmd 2>/dev/null
config_lib dl -ldl 2>/dev/null
config_define PREFIX "\"${PREFIX}\""
config_have_crypt_newhash
config_have_explicit_bzero
config_have_generic_sw_uw
config_have_pthread
config_have_stat_mtim
config_have_float128
config_lib m -lm 2>/dev/null
config_lib pthread -lpthread
config_lib compiler_rt -lcompiler_rt 2>/dev/null
config_ldadd gcc -lgcc 2>/dev/null
if $HAVE_WIN32 || $HAVE_WIN64; then
LIBS="$LIBS -lws2_32"
fi
LIBS="$LIBS -rpath ${PREFIX}/lib"
if ! [ -f "${SRC_TOP}/ucd2c/ucd.c" ]; then
touch "${SRC_TOP}/ucd2c/ucd.c"
fi