diff options
author | Andreas Beckmann <anbe@debian.org> | 2015-02-07 04:45:32 +0100 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2015-02-11 11:47:06 +0800 |
commit | c960637ebe7d68c37fe299c63e74c0e269a9fdb3 (patch) | |
tree | 05f069e6c83f13fe7a2c7585529cdb8b1a470ab0 | |
parent | a6446f39e96548b06e58e37d388c32e8305af49d (diff) |
remove unsafe define -D__$(USER)__
funny things may happen with usernames like
'asm', 'attribute', 'x86_64', 'i386', and so on
this breaks on usernames with non-alnum chars ('-', '.')
Signed-off-by: Andreas Beckmann <anbe@debian.org>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7cf0b3b9..b7319738 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,8 +46,6 @@ if (NOT BEIGNET_INSTALL_DIR) set (BEIGNET_INSTALL_DIR "${LIB_INSTALL_DIR}/beignet/") endif (NOT BEIGNET_INSTALL_DIR) -ADD_DEFINITIONS(-D__$(USER)__) - # Force Release with debug info if (NOT CMAKE_BUILD_TYPE) set (CMAKE_BUILD_TYPE RelWithDebInfo) |