+ # Note: GNUSTEP_TARGET_CPU is not yet available (set by common.make), so we
+ # only have environment variables
+ # Note: we can't set SYSTEM_LIB_DIR in this location, it gets overridden by
+ # common.make
+ cfgwrite "ifeq (\$(findstring _64, \$(GNUSTEP_HOST_CPU)), _64)"
+ cfgwrite "CONFIGURE_64BIT:=yes"
+ cfgwrite "ifneq (\$(FHS_INSTALL_ROOT),)"
+ cfgwrite "CONFIGURE_FHS_INSTALL_LIBDIR:=\$(FHS_INSTALL_ROOT)/lib64/"
+ cfgwrite "endif"
+ cfgwrite "CONFIGURE_SYSTEM_LIB_DIR += -L\$(CONFIGURE_FHS_INSTALL_LIBDIR) -L/usr/lib64"
+ cfgwrite "else"
+ cfgwrite "ifneq (\$(FHS_INSTALL_ROOT),)"
+ cfgwrite "CONFIGURE_FHS_INSTALL_LIBDIR:=\$(FHS_INSTALL_ROOT)/lib/"
+ cfgwrite "endif"
+ cfgwrite "CONFIGURE_SYSTEM_LIB_DIR += -L\$(CONFIGURE_FHS_INSTALL_LIBDIR) -L/usr/lib"
+ cfgwrite "endif"
+