Commit 2a2e4e45 authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

add lib_debug/ in the gcc statement extracting LC3Plus defines

parent e95117da
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ touch $ifdef_list
if [ $INCLUDE_SPLIT -eq 1 ]; then
    # Generate list of active defines in LC3plus defines.h
    lc3plus_defines=$(
        gcc -E -dM $targetdir/lib_lc3plus/defines.h -I $targetdir/lib_com |
        gcc -E -dM $targetdir/lib_lc3plus/defines.h -I $targetdir/lib_com -I $targetdir/lib_debug |
            sed '/^#define [[:alnum:]][[:alnum:]_]\+[[:space:]]*$/! d' |
            sed '/#define DEFINES_H/ d'
    )