diff options
author | Chris Lattner <sabre@nondot.org> | 2002-03-22 19:12:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-03-22 19:12:45 +0000 |
commit | 69e82393c2cc049249e245cba653a2d153ff9b9a (patch) | |
tree | 4611ce4b3288d155281b6ead7e356ae0cef0ef5d /SingleSource/Makefile.singlesrc | |
parent | 449a111624ea029dc4fec7d973e32120dc841a8a (diff) |
Link libgcc into programs so that __main is defind
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@1946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'SingleSource/Makefile.singlesrc')
-rw-r--r-- | SingleSource/Makefile.singlesrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SingleSource/Makefile.singlesrc b/SingleSource/Makefile.singlesrc index eb380e23..ba37d78b 100644 --- a/SingleSource/Makefile.singlesrc +++ b/SingleSource/Makefile.singlesrc @@ -28,4 +28,4 @@ Output/%.native: %.c Output/.dir # # FIXME: LIBS should be specified, not hardcoded to -lc -lm Output/%.llvm: Output/%.bc - $(LGCCLD) $< -lc -lm -o $@ + $(LGCCLD) $< -lgcc -lc -lm -o $@ |