app/test: fix build with gcc < 4.4
authorMarvin Liu <yong.liu@intel.com>
Thu, 19 Mar 2015 03:16:57 +0000 (11:16 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 22 Mar 2015 23:31:20 +0000 (00:31 +0100)
commit651dac9128703525aabc68a3aaee40b9704d19ed
tree6562517b109ddc874e0a15cb5f0ab8e7b20a9422
parentd788ccb1309069286fc2e3ca0355a2a480b65986
app/test: fix build with gcc < 4.4

Option var-tracking-assignments supported in gcc from 4.4.
Add gcc version check wil fix this issue.

error: unrecognized command line option "-fno-var-tracking-assignments"

Fixes: 74adbc5ef704 ("app/test: disable variable tracking assignment for memcpy")

Signed-off-by: Marvin Liu <yong.liu@intel.com>
app/test/Makefile