diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-02-16 03:12:53 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-02-16 03:12:53 (GMT) |
commit | e1ab4466ff074344814fdb36c8c9d7acf08b2000 (patch) | |
tree | 1e2ad25cbda6d1c48f9e0586a93e2b92c0f27246 /src/gcc.mk | |
parent | 18316ec7d018eb15683c7a8b316351d83b3a1495 (diff) | |
download | mxe-e1ab4466ff074344814fdb36c8c9d7acf08b2000.zip mxe-e1ab4466ff074344814fdb36c8c9d7acf08b2000.tar.gz mxe-e1ab4466ff074344814fdb36c8c9d7acf08b2000.tar.bz2 |
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Diffstat (limited to 'src/gcc.mk')
-rw-r--r-- | src/gcc.mk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -41,7 +41,7 @@ define $(PKG)_BUILD # apply TDM-GCC patches cd '$(1)' && \ for p in '$(1)'/gcc-tdm/*.patch; do \ - $(SED) 's,\r$$,,' -i "$$p" || exit 1; \ + $(SED) -i 's,\r$$,,' "$$p" || exit 1; \ patch -p1 -u < "$$p" || exit 1; \ done # unpack support libraries @@ -60,8 +60,8 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)/build' -j 1 install # unpack and build pthreads (needed by libgomp) cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,gcc-pthreads) - $(SED) '35i\#define PTW32_STATIC_LIB' -i '$(1)/$(gcc-pthreads_SUBDIR)/pthread.h' - $(SED) 's,#include "config.h",,' -i '$(1)/$(gcc-pthreads_SUBDIR)/pthread.h' + $(SED) -i '35i\#define PTW32_STATIC_LIB' '$(1)/$(gcc-pthreads_SUBDIR)/pthread.h' + $(SED) -i 's,#include "config.h",,' '$(1)/$(gcc-pthreads_SUBDIR)/pthread.h' $(MAKE) -C '$(1)/$(gcc-pthreads_SUBDIR)' -j 1 GC-static CROSS='$(TARGET)-' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' $(INSTALL) -m664 '$(1)/$(gcc-pthreads_SUBDIR)/libpthreadGC2.a' '$(PREFIX)/$(TARGET)/lib/libpthread.a' @@ -70,7 +70,7 @@ define $(PKG)_BUILD $(INSTALL) -m664 '$(1)/$(gcc-pthreads_SUBDIR)/sched.h' '$(PREFIX)/$(TARGET)/include/' $(INSTALL) -m664 '$(1)/$(gcc-pthreads_SUBDIR)/semaphore.h' '$(PREFIX)/$(TARGET)/include/' # build libgomp - $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/libgomp/configure' + $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/libgomp/configure' mkdir '$(1)/build/$(TARGET)/libgomp' cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/libgomp/configure' \ $(gcc_CONFIGURE_OPTIONS) \ |