diff --git a/core/binary.mk b/core/binary.mk index ef4763611..af8d74780 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -907,6 +907,7 @@ $(gen_s_objects): $(intermediates)/%.o: $(intermediates)/%.s \ endif gen_asm_objects := $(gen_S_objects) $(gen_s_objects) +$(gen_asm_objects): PRIVATE_ARM_CFLAGS := $(normal_objects_cflags) ########################################################### ## o: Include generated .o files in output. @@ -1043,6 +1044,7 @@ $(asm_objects_s): $(intermediates)/%.o: $(TOPDIR)$(LOCAL_PATH)/%.s \ endif asm_objects := $(dotdot_objects_S) $(dotdot_objects_s) $(asm_objects_S) $(asm_objects_s) +$(asm_objects): PRIVATE_ARM_CFLAGS := $(normal_objects_cflags) # .asm for x86/x86_64 needs to be compiled with yasm.