Add support for assemble-time assertions.
[b43-tools.git] / assembler / b43-asm
index 2fbccce35f9e1d1447af5fee8232cbd51587e9b0..0f2476aa34e86e108559f40e48f5bcfd4aec492e 100755 (executable)
@@ -10,7 +10,7 @@
 # The b43-asm backend binary
 B43_ASM="b43-asm.bin"
 # The C preprocessor binary
-CPP="cpp"
+CPP="gcc -E"
 
 
 # This variable is changed by the installer scripts.
@@ -48,4 +48,4 @@ if [ "$infile" != "-" ]; then
        fi
 fi
 
-$CPP -x c++ -traditional-cpp "$infile" | $B43_ASM "-" "$outfile" $@
+$CPP -x c++ -traditional-cpp "$infile" | $B43_ASM "-" "$outfile" --__real_infile "$infile" $@