remove --target from %configure macros
authorAnas Nashif <anas.nashif@intel.com>
Tue, 10 Sep 2013 17:11:53 +0000 (13:11 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Tue, 10 Sep 2013 17:12:04 +0000 (13:12 -0400)
The target will be determined automatically by the configure scripts
instead of forcing it to be %target_platform of RPM.

Change-Id: I2284de77c28c4d0c7a9e1a9f819f5861eb5b74a0
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
packaging/rpm-tizen_macros

index 09b6225603f6bb7dbccafaed66dcc7d3b6bc02dd..ad0bc92ecd9645760243d87737338d0023cca490 100644 (file)
@@ -68,7 +68,6 @@
   CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
   FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
   ./configure --build=%{_build} --host=%{_host} \\\
-        --target=%{_target_platform} \\\
         --program-prefix=%{?_program_prefix} \\\
         --prefix=%{_prefix} \\\
         --exec-prefix=%{_exec_prefix} \\\
@@ -91,7 +90,6 @@
   FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
   autoreconf -v --install --force || exit 1 \
   ./configure --build=%{_build} --host=%{_host} \\\
-        --target=%{_target_platform} \\\
         --program-prefix=%{?_program_prefix} \\\
         --prefix=%{_prefix} \\\
         --exec-prefix=%{_exec_prefix} \\\
   CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
   FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
   ./autogen.sh --build=%{_build} --host=%{_host} \\\
-        --target=%{_target_platform} \\\
         --program-prefix=%{?_program_prefix} \\\
         --prefix=%{_prefix} \\\
         --exec-prefix=%{_exec_prefix} \\\