summaryrefslogtreecommitdiff
path: root/staging/cli_bpdu.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-08 10:21:18 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-08 10:21:18 +0200
commit5b8ec08d57fa932b769e590ecfe6a471910c05ec (patch)
tree1e3aff5cacbf09e1bdaf35bec229b50566944dcd /staging/cli_bpdu.c
parentee339c1af78312527312a812dce579266a9ba5bc (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 'staging/cli_bpdu.c')
0 files changed, 0 insertions, 0 deletions