From 6c07a2ae697dd9ea9b41988474961d53316fd2b2 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sun, 1 Dec 2019 18:57:07 -0700 Subject: [PATCH] linux.cf: always use bison For some reason, whenever OSMajorVersion was >= 2 (this equates to a 2.x kernel or above), yacc would be used instead of bison. On Ubuntu, and probably other linux systems, yacc is just a shell wrapper around bison, so let's just use that directly. --- cde/config/cf/linux.cf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf index a93176ad..8e40b576 100644 --- a/cde/config/cf/linux.cf +++ b/cde/config/cf/linux.cf @@ -120,11 +120,7 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion) #define MkdirHierCmd mkdir -p #define CppCmd /lib/cpp -#if OSMajorVersion >= 2 -# define YaccCmd yacc -#else -# define YaccCmd bison -y -#endif +#define YaccCmd bison -y #define LexCmd flex -l #define LexLib -lfl #define PreProcessCmd CcCmd -E -- 2.25.1