avr-gcc unrecognized command option "-assembler-with-cpp"

Arduino 1.0.5 on Ubuntu 14.04LTS avrdude: Version 6.0.1, compiled on Oct 21 2013 at 15:55:32 avr-gcc (GCC) 4.8.2

I'm trying to compile the "BasicSerial" library, and it fails saying that avr-gcc does not support "-assembler-with-cpp".

http://nerdralph.blogspot.ca/2013/12/writing-avr-assembler-code-with-arduino.html?showComment=1400883138750#c8700280467402182476

Do I need to upgrade to Arduino 1.5 to compile?

/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/hardware/arduino/variants/standard -I/home/colinmc/sketchbook/libraries/BasicSerial /tmp/build3018849142412624805.tmp/BareMinimum.cpp -o /tmp/build3018849142412624805.tmp/BareMinimum.cpp.o 
/usr/share/arduino/hardware/tools/avr/bin/avr-gcc -c -g -assembler-with-cpp -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=105 -DUSB_VID=null -DUSB_PID=null -D__PROG_TYPES_COMPAT__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/hardware/arduino/variants/standard -I/home/colinmc/sketchbook/libraries/BasicSerial -I/home/colinmc/sketchbook/libraries/BasicSerial/utility /home/colinmc/sketchbook/libraries/BasicSerial/BasicSerial.S -o/tmp/build3018849142412624805.tmp/BasicSerial/BasicSerial.S.o 
avr-gcc: error: unrecognized command line option ‘-assembler-with-cpp’

:0

Appears to be a problem specific to Ubuntu's repo version of 1.0.5... Latest Arduino releases of 1.0.5 have the fix.