diff --git a/package/avm/ripperx/ripperx.conf b/package/avm/ripperx/ripperx.conf index 299f812c4..442539668 100644 --- a/package/avm/ripperx/ripperx.conf +++ b/package/avm/ripperx/ripperx.conf @@ -1,2 +1,4 @@ -export CFLAGS="-fno-unit-at-a-time" +# this is only supported by gcc34+ +[ "$ROCKCFG_DEFAULT_CC" == "gcc34" ] && \ + export CFLAGS="-fno-unit-at-a-time"