diff --git a/src/template/linux b/src/template/linux
index aa28a319d76a6c914844bc339a567ae57555616a..74d4d0ac642bbc66fe15e57d54a634539d2b2993 100644
--- a/src/template/linux
+++ b/src/template/linux
@@ -7,4 +7,4 @@ SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
 YFLAGS:-d
-YACC:
+YACC: bison -y
diff --git a/src/template/linux-elf b/src/template/linux-elf
index 8c73a9c7d0346956a1b31a68367197e82cbb826f..ca8259ea93f7934d081f4d21f77466e147cacec0 100644
--- a/src/template/linux-elf
+++ b/src/template/linux-elf
@@ -7,4 +7,4 @@ SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.o
 YFLAGS:-d
-YACC:
+YACC: bison -y