improved coding style

This commit is contained in:
Volker Grabsch 2009-09-20 13:59:54 +02:00
parent 0f5187c194
commit 4bf7a58c9e
2 changed files with 3 additions and 3 deletions

View File

@ -32,6 +32,6 @@ $(PKG)_DEPS :=
define $(PKG)_UPDATE
wget -q -O- 'ftp://sourceware.org/pub/pthreads-win32/Release_notes' | \
$(SED) -n 's,^RELEASE \([0-9][^[:space:]]*\).*,\1,p' | \
tr '.' '-' | \
tr '.' '-' | \
head -1
endef

View File

@ -67,7 +67,7 @@ define $(PKG)_BUILD
mv '$(1)/$(gcc-mpfr_SUBDIR)' '$(1)/$(gcc-core_SUBDIR)/mpfr'
# build everything of GCC except libgomp and libmudflap
mkdir '$(1)/build'
cd '$(1)/build' && '$(1)/$(gcc-core_SUBDIR)/configure' \
cd '$(1)/build' && '$(1)/$(gcc-core_SUBDIR)/configure' \
$(gcc_CONFIGURE_OPTIONS) \
--enable-threads=win32 \
--disable-libgomp \
@ -87,7 +87,7 @@ define $(PKG)_BUILD
# build libgomp
$(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/$(gcc-core_SUBDIR)/libgomp/configure'
mkdir '$(1)/build/$(TARGET)/libgomp'
cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/$(gcc-core_SUBDIR)/libgomp/configure' \
cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/$(gcc-core_SUBDIR)/libgomp/configure' \
$(gcc_CONFIGURE_OPTIONS) \
--host='$(TARGET)' \
LIBS='-lws2_32'