2013-11-09 23:03:56 +08:00
|
|
|
// RUN: %clangxx %s -### -o %t.o -target amd64-unknown-freebsd10.0 2>&1 \
|
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-TEN %s
|
|
|
|
// RUN: %clangxx %s -### -o %t.o -target amd64-unknown-freebsd9.2 2>&1 \
|
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-NINE %s
|
2016-02-15 00:08:20 +08:00
|
|
|
// CHECK-TEN: "-lc++" "-lm"
|
|
|
|
// CHECK-NINE: "-lstdc++" "-lm"
|
|
|
|
|
|
|
|
// RUN: %clangxx %s -### -pg -o %t.o -target amd64-unknown-freebsd10.0 2>&1 \
|
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-PG-TEN %s
|
|
|
|
// RUN: %clangxx %s -### -pg -o %t.o -target amd64-unknown-freebsd9.2 2>&1 \
|
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-PG-NINE %s
|
|
|
|
// CHECK-PG-TEN: "-lc++_p" "-lm_p"
|
|
|
|
// CHECK-PG-NINE: "-lstdc++_p" "-lm_p"
|