unit at a time
[platform/upstream/binutils.git] / ld / testsuite / ld-selective / selective.exp
index 99ea012..274394e 100644 (file)
@@ -46,8 +46,8 @@ set seltests {
     {A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
 }
 
-set cflags "-w -O -ffunction-sections -fdata-sections"
-set cxxflags "-fno-exceptions -fno-rtti"
+set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time"
+set cxxflags "-fno-exceptions -fno-rtti -fno-unit-at-a-time"
 set ldflags "--gc-sections -Bstatic"
 
 if [istarget mips*-*] {