From ad0c451f2996d7d58cc4ac95c40e3406c011d8e6 Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Mon, 8 Jul 2024 10:46:30 +0800 Subject: [PATCH] assets/specTemplate: static link libpgmath --- assets/specTemplate.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/specTemplate.cfg b/assets/specTemplate.cfg index 86947d2..857de32 100644 --- a/assets/specTemplate.cfg +++ b/assets/specTemplate.cfg @@ -130,6 +130,8 @@ default: -Wl,-rpath-link,%{sysroot_dir}/lib \ -Wl,-dynamic-linker,%{sysroot_dir}/lib/ld-linux.so.2 + LIBS = %{gcc_dir}/lib/libpgmath.a + #preENV_LD_LIBRARY_PATH = %{gcc_dir}/lib64/:%{gcc_dir}/lib/:/lib64:%{ENV_LD_LIBRARY_PATH} SPECLANG = %{gcc_dir}/bin CC = $(SPECLANG)/clang --sysroot %{sysroot_dir} # -std=c99 %{model}