When I builing the AOSP for my device ,I have a problem that I can't slove
home/jack/Mokee/O/out/soong/make_vars-mk_N939St.mk:362: warning:
TARGET_GLOBAL_CFLAGS does not match between Make and Soong:
/home/jack/Mokee/O/out/soong/make_vars-mk_N939St.mk:362: warning: Make :
-DNO_SECURE_DISCARD
/h
Somewhere in your modifications or device configuration you're setting
TARGET_GLOBAL_CFLAGS to "-DNO_SECURE_DISCARD". We no longer support setting
target-specific global cflags -- in the vast majority of cases it's not
necessary, and should be set for just the components that are interested in
it.
In the file build/soong/android/makevars.go, there are these 3 lines:
ifneq ($(my_check_failed),false)
$(error Soong variable check failed)
endif
Either remove them or just comment out the 2nd line ( # $(error Soong
variable check failed) )
On Fri, Dec 8, 2017 at 12:46 PM, wrote:
> When I bu
Please don't do that, your build will fail in some other way, since that
check is there to ensure that the two build systems agree about options
that they both need to use.
On Sat, Dec 9, 2017 at 12:58 PM, Blaze Ristov
wrote:
> In the file build/soong/android/makevars.go, there are these 3 lines
That's useful.Thanks!
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more op
Thank you, was helpful.
On Saturday, December 9, 2017 at 11:51:46 PM UTC-8, quake73 wrote:
>
> In the file build/soong/android/makevars.go, there are these 3 lines:
>
> ifneq ($(my_check_failed),false)
> $(error Soong variable check failed)
> endif
>
> Either remove them or just comment out the
As I posted before: "Please don't do that, your build will fail in some
other way, since that check is there to ensure that the two build systems
agree about options that they both need to use."
- Dan
On Mon, May 13, 2019 at 12:36 PM Old3nglish 800 <0ld3nglish...@gmail.com>
wrote:
> Thank you, w