patchSimulavr: an AVR simulator - Patches: patch #9406, Fix configure with builddir !=...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9406: Fix configure with builddir != srcdir

Submitted by:  Georg-Johann Lay <gjlayde>
Submitted on:  Tue 11 Jul 2017 05:41:23 PM UTC  
 
Category: bug fixPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: simulavr

Tue 11 Jul 2017 05:41:23 PM UTC, original submission:

autotools support configure'ing software out of the source tree. For example, you can configure and build several different configurations of a souftware without messing up the source tree.

Currrent simulavr fails in their regard because some include paths assert that builddir=srcdir and are missing $(srcdir) -I include paths passed to the compiler.

Fixed by attached patch.

Cf. also http://lists.gnu.org/archive/html/simulavr-devel/2017-07/msg00012.html

There might be more fragile / questionable places like regress/gtest/Makefile.am::SIMULAVR_LIB.

Georg-Johann Lay <gjlayde>

 

Attached Files
file #41167:  simulavr-srcdir.diff added by gjlayde (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gjlayde (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Jul 2017 05:41:23 PM UTCgjlaydeAttached File-=>Added simulavr-srcdir.diff, #41167

    Back to the top


    Powered by Savane 3.1-cleanup1