From 448125a1332ea8e8f39ded2c9c0426b4f3eed669 Mon Sep 17 00:00:00 2001
From: Keith Thorne <keith.thorne@ligo.org>
Date: Tue, 11 Jun 2019 15:21:10 -0500
Subject: [PATCH] Add no-builtin-sincos

---
 src/epics/util/feCodeGen.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/epics/util/feCodeGen.pl b/src/epics/util/feCodeGen.pl
index 67b2f3527..1d62fb365 100755
--- a/src/epics/util/feCodeGen.pl
+++ b/src/epics/util/feCodeGen.pl
@@ -2682,7 +2682,7 @@ print OUTM "\n";
 
 print OUTM "EXTRA_CFLAGS += -DMODULE -DNO_RTL=1\n";
 print OUTM "EXTRA_CFLAGS += -I\$(SUBDIRS)/../../include -I$rcg_src_dir/src/include\n";
-print OUTM "EXTRA_CFLAGS += -ffast-math -m80387 -msse2 -mpreferred-stack-boundary=4\n";
+print OUTM "EXTRA_CFLAGS += -ffast-math -m80387 -msse2 -fno-builtin-sincos -mpreferred-stack-boundary=4\n";
 
 print OUTM "obj-m += $skeleton" . ".o\n";
 
-- 
GitLab