ref: b92e5d5825e6b26c1fb105c7a48a7847abe772f5
parent: 92afdcee4daa17b824d586d21bf3cf9f6b4e693c
author: cancel <cancel@cancel.fm>
date: Fri Nov 30 05:49:57 EST 2018
Fix unused cmd flag in clang build
--- a/tool
+++ b/tool
@@ -168,7 +168,10 @@
# tui in the future
# add libraries -lncurses
else
- add cc_flags -Og -feliminate-unused-debug-symbols
+ add cc_flags -Og
+ if [[ $cc_id = gcc ]]; then
+ add cc_flags -feliminate-unused-debug-symbols
+ fi
# needed if address is already specified? doesn't work on mac clang, at
# least
# add cc_flags -fsanitize=leak