up: use CC and CXX instead of gcc
up: LOCAL_LDLIBS var
opt: use define func instead of cmd
up: LOCAL_LDFLAGS var
up: LOCAL_CFLAGS var
Merge branch 'topic/compile-flag'