diff options
-rw-r--r-- | package/dosfstools/Makefile | 6 | ||||
-rw-r--r-- | package/dosfstools/patches/patch-Makefile | 11 |
2 files changed, 13 insertions, 4 deletions
diff --git a/package/dosfstools/Makefile b/package/dosfstools/Makefile index 89a3cb861..8f6dee573 100644 --- a/package/dosfstools/Makefile +++ b/package/dosfstools/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= dosfstools PKG_VERSION:= 3.0.9 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= bd273cf8aa6341c0b52cbac72050bcf4 PKG_DESCR:= Utilities to create and check MS-DOS FAT filesystems PKG_SECTION:= fs @@ -17,9 +17,7 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,DOSFSTOOLS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIG_STYLE:= manual - -XAKE_FLAGS+= PREFIX="" \ - OPTFLAGS="${TARGET_CFLAGS} -D_FILE_OFFSET_BITS=64" +XAKE_FLAGS+= PREFIX="" OPTFLAGS="-D_FILE_OFFSET_BITS=64" post-install: ${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/sbin diff --git a/package/dosfstools/patches/patch-Makefile b/package/dosfstools/patches/patch-Makefile new file mode 100644 index 000000000..c20b7f4dc --- /dev/null +++ b/package/dosfstools/patches/patch-Makefile @@ -0,0 +1,11 @@ +--- dosfstools-3.0.9.orig/Makefile 2009-10-04 11:03:23.000000000 +0200 ++++ dosfstools-3.0.9/Makefile 2011-01-07 21:50:15.000000000 +0100 +@@ -29,7 +29,7 @@ OPTFLAGS = -O2 -fomit-frame-pointer $(sh + #WARNFLAGS = -Wall -pedantic -std=c99 + WARNFLAGS = -Wall + DEBUGFLAGS = -g +-CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS) ++CFLAGS += $(WARNFLAGS) + + VPATH = src + |