r336039 - Driver: Add an explicit target to testcase from r336037

Tom Stellard via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 29 20:50:10 PDT 2018


Author: tstellar
Date: Fri Jun 29 20:50:10 2018
New Revision: 336039

URL: http://llvm.org/viewvc/llvm-project?rev=336039&view=rev
Log:
Driver: Add an explicit target to testcase from r336037

Modified:
    cfe/trunk/test/Driver/linux-ld.c

Modified: cfe/trunk/test/Driver/linux-ld.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/linux-ld.c?rev=336039&r1=336038&r2=336039&view=diff
==============================================================================
--- cfe/trunk/test/Driver/linux-ld.c (original)
+++ cfe/trunk/test/Driver/linux-ld.c Fri Jun 29 20:50:10 2018
@@ -1784,6 +1784,7 @@
 // CHECK-LD-GENTOO-X32: "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed"
 
 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
+// RUN:     --target=x86_64-unknown-linux-gnu \
 // RUN:     --gcc-toolchain="%S/Inputs/rhel_7_tree/opt/rh/devtoolset-7/root/usr" \
 // RUN:     --sysroot=%S/Inputs/rhel_7_tree \
 // RUN:   | FileCheck --check-prefix=CHECK-LD-RHEL7-DTS %s




More information about the cfe-commits mailing list