Skip to content

Instantly share code, notes, and snippets.

@dileks
Created April 12, 2011 08:48
Show Gist options
  • Select an option

  • Save dileks/915194 to your computer and use it in GitHub Desktop.

Select an option

Save dileks/915194 to your computer and use it in GitHub Desktop.
-Wno-error-unused-arguments
$ LANG=C make CC=/opt/llvm/bin/clang HOSTCC=/opt/llvm/bin/clang KCFLAGS="-Wno-error-unused-arguments"
[: 1: Illegal number: 4.2.1
Makefile:604: "WARNING: Appending $KCFLAGS (-Wno-error-unused-arguments) from command line to kernel $CFLAGS"
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
CC kernel/bounds.s
clang: error: unsupported option '-freg-struct-return'
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment