Print this page
10925 remove 32-bit krtld
Reviewed by: Andy Stormont <astormont@racktopsystems.com>

@@ -19,11 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
-# Copyright 2019 Joyent, Inc.  All rights reserved.
+# Copyright 2019 Joyent, Inc.
 # Copyright 2017 Nexenta Systems, Inc.
 #
 
 #
 #       This Makefile defines all file modules and build rules for the

@@ -277,13 +277,11 @@
 #
 
 KRTLD_INC_PATH  = -I$(UTSBASE)/common/krtld -I$(UTSBASE)/intel/sys
 KRTLD_INC_PATH  += -I$(UTSBASE)/intel/$(SUBARCH_DIR)/krtld
 
-KRTLD_CPPFLAGS_32       = -DELF_TARGET_386
-KRTLD_CPPFLAGS_64       = -DELF_TARGET_AMD64 -DMODDIR_SUFFIX=\"amd64\"
-KRTLD_CPPFLAGS          = $(KRTLD_CPPFLAGS_$(CLASS)) -D_KRTLD
+KRTLD_CPPFLAGS  = -D_KRTLD -DELF_TARGET_AMD64 -DMODDIR_SUFFIX=\"amd64\"
 
 $(OBJS_DIR)/%.o:        $(UTSBASE)/common/krtld/%.c
         $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
         $(CTFCONVERT_O)