Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0f211cf7 authored by Ying Wang's avatar Ying Wang Committed by Steve Kondik
Browse files

build: fix ccache preprocessor errors for clang

From AOSP upstream: https://android-review.googlesource.com/#/c/111311/
----

Add -Wno-unused-command-line-argument to clang cflags to enable ccache.

Previously ccache is disabled when it fails calling clang's preprocessor with
unused arguments (such as '-Wa,--noexecstack') in the command line.

See http://petereisentraut.blogspot.com/2011/05/ccache-and-clang.html.
(-Qunused-arguments suppresses more than
-Wno-unused-command-line-argument does.)

Change-Id: I6cde307632c8395c053eb28063d7844d93070562
parent 21f1c32f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment