Группа :: Система/Серверы
Пакет: pptpd
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: pptpd-1.2.1-alt-makefile.patch
diff -urN pptpd-1.2.1.orig/Makefile.am pptpd-1.2.1/Makefile.am
--- pptpd-1.2.1.orig/Makefile.am 2004-06-23 13:48:50 +0400
+++ pptpd-1.2.1/Makefile.am 2005-05-14 12:29:02 +0400
@@ -11,7 +11,7 @@
## warning with -Wmissing-prototypes).
## -Wmissing-prototypes removed (eg, Linux 2.2.6 headers
## aren't up to it).
-CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"'
+CFLAGS = $(RPM_OPT_FLAGS) -fno-builtin -Wall -DSBINDIR='"$(sbindir)"'
#CFLAGS = -O2 -fno-builtin -Wall -ansi -DSBINDIR='"$(sbindir)"'
#CFLAGS = -O2 -fno-builtin -Wall -ansi -pedantic -Wmissing-prototypes -Werror -DSBINDIR='"$(sbindir)"'
diff -urN pptpd-1.2.1.orig/Makefile.in pptpd-1.2.1/Makefile.in
--- pptpd-1.2.1.orig/Makefile.in 2004-06-23 14:03:07 +0400
+++ pptpd-1.2.1/Makefile.in 2005-05-14 12:29:37 +0400
@@ -105,7 +105,7 @@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
-CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"'
+CFLAGS = $(RPM_OPT_FLAGS) -fno-builtin -Wall -DSBINDIR='"$(sbindir)"'
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@