selftest/memfd: enable cross compilation
authorTyler Baker <tyler.baker@linaro.org>
Wed, 1 Apr 2015 23:20:15 +0000 (16:20 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 2 Apr 2015 18:40:34 +0000 (12:40 -0600)
commit52dd5576cd0d9d23b0b83b133d853a8ef074ee77
treefb6d853547c79c7aea14b6f65ea0049b36145841
parent48fd77d1444a387435c3bbc773fa4e7ab6b6aca3
selftest/memfd: enable cross compilation

Use the CC variable instead of hard coding gcc. Also clean up the compiler
options by creating a CFLAGS variable.

Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/memfd/Makefile