Remove kludge for c++.
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 20 Dec 2010 12:10:41 +0000 (12:10 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 20 Dec 2010 12:10:41 +0000 (12:10 +0000)
commit8e59da179d7cb8a4ca7ef52bc0e9da450b7bcfdb
treeea064894f425bf0b1bcbeb2136d50896b9657524
parent5eec6d12a34acf1095170c786416ae5515202f24
Remove kludge for c++.

The kludge removed warnings when compiling files with c++,
used only in the demo.
However, if the user uses a path to the compiler which
contains '++' somewhere (eg.
CodeSourcery/Sourcery_G++_Lite/bin/arm-none-eabi-"gcc"), the
C specific flags are removed.

This patch solves the issues by clearing out the C specific
flags only in the demo.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4643 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/config.mk
bertos/rules.mk
examples/demo/demo.mk