Description: redefine COMPILE.s to avoid arch-specific flags Index: b/usr/src/uts/Makefile.uts =================================================================== --- a/usr/src/uts/Makefile.uts 2014-03-01 22:54:21.102532095 +0400 +++ b/usr/src/uts/Makefile.uts 2014-03-01 22:55:50.188822045 +0400 @@ -36,6 +36,12 @@ # include $(SRC)/Makefile.master +# dh_illumos_gate(1) appends arch-specific flags to COMPILE.s +# to force it compile 32-bit code. But in UTS COMPILE.s is used +# to compile both 64 and 32 bit objects, and arch-specific flags +# are added to ASFLAGS. +COMPILE.s= $(AS) $(ASFLAGS) $(AS_CPPFLAGS) + # # No text domain in the kernel. #