From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: [PATCH 1/5] Enable cross compiling Date: Wed, 15 Jul 2015 16:38:07 -0400 Message-ID: <1810330.TXo9gmCVWY@x2> References: <1432818249-17692-1-git-send-email-clayton.shotwell@rockwellcollins.com> <1432818249-17692-2-git-send-email-clayton.shotwell@rockwellcollins.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1432818249-17692-2-git-send-email-clayton.shotwell@rockwellcollins.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Thursday, May 28, 2015 08:04:05 AM Clayton Shotwell wrote: > During the audit build, several lookup tables are generated as header > files that are then linked in with the executables. This process is done > by a C application that needs to be able to be run on the host. The > current Makfile structure tries to build these executables for the > target instead of the host where they cannot be executed. This patch > reworks the Makefile structure to build for the correct platform. > > This patch is a rework of a patch posted to the audit mailing list at > the link below. > https://www.redhat.com/archives/linux-audit/2012-November/msg00000.html > > The ax_prog_cc_for_build.m4 file was obtained from GNU at the link > below. > http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html > > Signed-off-by: Clayton Shotwell This patch causes a problem during a normal build: Making all in lib make[2]: Entering directory '/home/sgrubb/working/BUILD/audit-2.4.3/lib' make[2]: *** No rule to make target 'gen_tables.c', needed by 'gen_actiontabs_h'. Stop. -Steve