bugGNU Octave - Bugs: bug #59431, [octave forge] (nan) src/Makefile...

 
 

bug #59431: [octave forge] (nan) src/Makefile does not honour CPPFLAGS from environment

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Sat 07 Nov 2020 09:01:48 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 07 Nov 2020 09:01:48 PM UTC, original submission:  

The CPPFLAGS from the environment is not honored by src/Makefile. 

In lines 63 to 65 of src/Makefile.in, there is this code:


# Support Debian Hardening flags
# https://wiki.debian.org/HardeningWalkthrough#Handling_dpkg-buildflags_in_your_upstream_build_system
CFLAGS += $(CPPFLAGS)


This is great, but useless, because there is the following code in line 128:


CFLAGS := -fexceptions -fPIC -fno-omit-frame-pointer -pthread


In order to honor the dpkg-buildflags environment in a Debian system, it is necessary to apply the patch attached to this bug report.

Rafael Laboissière <rlaboiss>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rlaboiss (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-07 rlaboiss Attached File- Added honour-cppflags-from-environment.patch, #50224

    Back to the top

    Powered by Savane 3.13-8ccc.
    Corresponding source code