summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gcc-pthreads.mk2
-rw-r--r--src/gcc.mk4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gcc-pthreads.mk b/src/gcc-pthreads.mk
index a6e0412..e54da6f 100644
--- a/src/gcc-pthreads.mk
+++ b/src/gcc-pthreads.mk
@@ -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
diff --git a/src/gcc.mk b/src/gcc.mk
index 33512c5..50fff4f 100644
--- a/src/gcc.mk
+++ b/src/gcc.mk
@@ -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'