Skip to content

Commit

Permalink
Change magic that finds libraries to compile with so it works with cl…
Browse files Browse the repository at this point in the history
…ang, too
  • Loading branch information
joto committed May 7, 2013
1 parent 1361c69 commit 5f8c7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_options.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ else
fi

(for input in $*; do
cpp -x c++ -dD $input 2>/dev/null | grep $macro | cut -d' ' -f3-
cpp -xc++ -dD -E -Iinclude -I../include $input 2>/dev/null | grep $macro | cut -d' ' -f3-
done) | sort -u | xargs echo

0 comments on commit 5f8c7af

Please sign in to comment.