diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-09-08 10:21:18 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-09-08 10:21:18 +0200 |
commit | 5b8ec08d57fa932b769e590ecfe6a471910c05ec (patch) | |
tree | 1e3aff5cacbf09e1bdaf35bec229b50566944dcd /link.h | |
parent | ee339c1af78312527312a812dce579266a9ba5bc (diff) |
build: Detect compiler (gcc or clang) and filter out compiler flags
Create a make variable $(COMPILER) which is set to either `gcc' or
`clang' depending on the compiler used. Use this variable to filter out
command line options not supported by clang (for now only
-fno-delete-null-pointer-checks).
Compiler detection snippet extracted from the Linux kernel Makefile.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'link.h')
0 files changed, 0 insertions, 0 deletions