Fix hard-coded cross-arch utility name in the BUILD build system module.
[pub/lufa.git] / LUFA / Build / lufa.build.in
index 1fccbbf..4719d7b 100644 (file)
@@ -209,7 +209,7 @@ size: $(TARGET).elf
 
 symbol-sizes: $(TARGET).elf
        @echo $(MSG_NM_CMD) Extracting \"$<\" symbols with decimal byte sizes
-       avr-nm --size-sort --demangle --radix=d $<
+       $(CROSS)-nm --size-sort --demangle --radix=d $<
 
 clean:
        @echo $(MSG_REMOVE_CMD) Removing object files of \"$(TARGET)\"