[llvm-commits] CVS: llvm-test/Makefile.f2c
Chris Lattner
lattner at cs.uiuc.edu
Sun Jan 23 20:04:57 PST 2005
Changes in directory llvm-test:
Makefile.f2c updated: 1.4 -> 1.5
---
Log message:
Successfully internalize the f2c tests.
---
Diffs of the changes: (+5 -1)
Makefile.f2c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)
Index: llvm-test/Makefile.f2c
diff -u llvm-test/Makefile.f2c:1.4 llvm-test/Makefile.f2c:1.5
--- llvm-test/Makefile.f2c:1.4 Mon Oct 25 15:21:35 2004
+++ llvm-test/Makefile.f2c Sun Jan 23 22:04:42 2005
@@ -29,7 +29,11 @@
%.c: %.f
$(F2C) $< > /dev/null 2>&1
-
+
CPPFLAGS = -I$(F2C_INC)
LDFLAGS += -L$(F2C_LIB) -lf2c
+
+# 'main' is defined in the f2c runtime library. The function exported from the
+# program is named MAIN__
+EXTRA_LINKTIME_OPT_FLAGS += -internalize-public-api-list=MAIN__
\ No newline at end of file
More information about the llvm-commits
mailing list