diff --git a/src/toolsComm/flex/Makefile.Host b/src/toolsComm/flex/Makefile.Host index 459f1cb0a..7240c13c3 100644 --- a/src/toolsComm/flex/Makefile.Host +++ b/src/toolsComm/flex/Makefile.Host @@ -15,9 +15,14 @@ SKELETON_FILE=include/flex.skel.static # ARCH_CLASS hp700 needs special flags, # everything else uses default: # -USR_CFLAGS_DEFAULT := -DUSG -DDEFAULT_SKELETON_FILE=\"$(SKELETON_FILE)\" -USR_CFLAGS_Borland := -DUSG -USR_CFLAGS_hp700 := -DSCO_UNIX -DDEFAULT_SKELETON_FILE=\"$(SKELETON_FILE)\" +USR_CFLAGS_DEFAULT := -DUSG +USR_CFLAGS_hp700 := -DSCO_UNIX + +# This applies to all arch.classes: +# +ifneq ($(HOST_ARCH),Borland) +USR_CFLAGS = -DDEFAULT_SKELETON_FILE=\"$(SKELETON_FILE)\" +endif INC += flex.skel.static