build: Only compile with osl_cppflags where necessary.
authorAndre Noll <maan@systemlinux.org>
Sat, 19 Apr 2014 23:22:18 +0000 (23:22 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 26 Oct 2014 12:15:54 +0000 (13:15 +0100)
commit14ca5388a4a1594e69069fb06d7e68efeb026c95
tree7ad5e10f6e07dbc498f20e7dc06ea5435649c5a2
parent44061c80a062f2b37c7a222893c8faa725ee5912
build: Only compile with osl_cppflags where necessary.

Currently we include $(osl_cppflags) in the CC command used to compile
all objects, regardless of whether the command needs these flags. This
commit changes Makefile.real to add the flags only for those objects
which actually include osl.h.
Makefile.real