From: Jon Trulson Date: Mon, 2 Dec 2019 01:57:07 +0000 (-0700) Subject: linux.cf: always use bison X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6c07a2ae697dd9ea9b41988474961d53316fd2b2;p=oweals%2Fcde.git 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. --- 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