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


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

Submitted by:  Rafael Laboissiere <rlaboiss>
Submitted on:  Sat 07 Nov 2020 09:01:48 PM UTC  
Category:  Octave Forge 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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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

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 Laboissiere <rlaboiss>


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

Attach Files:

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)

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

    Only project 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.5