From a4b39cada1da320dd1b3e77a32bb846e3742c81a Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 6 Oct 2009 19:14:36 +0000 Subject: [PATCH] 2009-10-06 21:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-win-spec * harbour/harbour-wce-spec - commented out HB_BUILD_PARTS=compiler as workaround for using postinst.prg % use -undef:.ARCH. --- harbour/ChangeLog | 7 +++++++ harbour/harbour-wce-spec | 8 +++++--- harbour/harbour-win-spec | 8 +++++--- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index df83152551..eaff204412 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,13 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-10-06 21:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/harbour-win-spec + * harbour/harbour-wce-spec + - commented out HB_BUILD_PARTS=compiler as workaround for using + postinst.prg + % use -undef:.ARCH. + 2009-10-06 18:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL - Deleted sudo from one pkg creation command. diff --git a/harbour/harbour-wce-spec b/harbour/harbour-wce-spec index 7b49f0cb17..68c6befabf 100644 --- a/harbour/harbour-wce-spec +++ b/harbour/harbour-wce-spec @@ -86,17 +86,19 @@ rm -fR $RPM_BUILD_ROOT %build -export HB_BUILD_PARTS=compiler +#export HB_BUILD_PARTS=compiler +export HB_CONTRIBLIBS=no export HB_PLATFORM=linux export HB_COMPILER=gcc make %{?_smp_mflags} unset HB_COMPILER +unset HB_CONTRIBLIBS export HB_BUILD_PARTS=lib export HB_PLATFORM=wce export HB_BIN_COMPILE="$(pwd)/bin/linux/gcc" -export CC_HB_USER_PRGFLAGS="-D__PLATFORM__WINCE -D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__LINUX" +export CC_HB_USER_PRGFLAGS="-undef:.ARCH. -D__PLATFORM__WINDOWS -D__PLATFORM__WINCE" make %{?_smp_mflags} @@ -114,7 +116,7 @@ unset HB_COMPILER export HB_BIN_COMPILE="$(pwd)/bin/linux/gcc" -export CC_HB_USER_PRGFLAGS="-D__PLATFORM__WINCE -D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__LINUX" +export CC_HB_USER_PRGFLAGS="-undef:.ARCH. -D__PLATFORM__WINDOWS -D__PLATFORM__WINCE" export HB_BIN_INSTALL=%{_bindir} export HB_INC_INSTALL=%{_includedir}/%{name} diff --git a/harbour/harbour-win-spec b/harbour/harbour-win-spec index e6f72dbaf0..9a51217272 100644 --- a/harbour/harbour-win-spec +++ b/harbour/harbour-win-spec @@ -86,17 +86,19 @@ rm -fR $RPM_BUILD_ROOT %build -export HB_BUILD_PARTS=compiler +#export HB_BUILD_PARTS=compiler +export HB_CONTRIBLIBS=no export HB_PLATFORM=linux export HB_COMPILER=gcc make %{?_smp_mflags} unset HB_COMPILER +unset HB_CONTRIBLIBS export HB_BUILD_PARTS=lib export HB_PLATFORM=win export HB_BIN_COMPILE="$(pwd)/bin/linux/gcc" -export CC_HB_USER_PRGFLAGS="-D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__LINUX" +export CC_HB_USER_PRGFLAGS="-undef:.ARCH. -D__PLATFORM__WINDOWS" make %{?_smp_mflags} @@ -114,7 +116,7 @@ unset HB_COMPILER export HB_BIN_COMPILE="$(pwd)/bin/linux/gcc" -export CC_HB_USER_PRGFLAGS="-D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__LINUX" +export CC_HB_USER_PRGFLAGS="-undef:.ARCH. -D__PLATFORM__WINDOWS" export HB_BIN_INSTALL=%{_bindir} export HB_INC_INSTALL=%{_includedir}/%{name}