mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 22:08:57 -04:00

This can be used to disable libc linking. This flag is supported by GCC since version 9 as well as some Clang target toolchains. Differential Revision: https://reviews.llvm.org/D58326 llvm-svn: 354210
6 lines
165 B
C
6 lines
165 B
C
// RUN: %clang -target i686-pc-linux-gnu -### -rtlib=libgcc -nolibc %s 2>&1 | FileCheck %s
|
|
// CHECK: crtbegin
|
|
// CHECK: "-lgcc"
|
|
// CHECK-NOT: "-lc"
|
|
// CHECK: crtend
|