FS#77328 - [blender] PKGBUILD does not allow CXXFLAGS from /etc/makepkg.conf to be used

Attached to Project: Community Packages
Opened by hurricane pootis (HurricanePootis) - Monday, 30 January 2023, 05:29 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 02 February 2023, 02:44 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
freswa (frederik)
Filipe Laíns (FFY00)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

In your package build, you have -DCMAKE_CXX_FLAGS="-I /usr/include/python$PYTHON_VER".
Because of this, the default Archlinux CXXFLAGS set in /etc/makepkg.conf are ignored (I have tested this). Therefore, you should change your cmake argument to -DCMAKE_CXX_FLAGS="$CXXFLAGS -I /usr/include/python$PYTHON_VER"

Not only will this allow for Arch Linux's CXXFLAGS be used in blender, it will also allow any third party user repository that builds packages with specialized flags to take affect for blender.


Additional info:
* package version(s): 17:blender-3.4.1-11

Steps to reproduce:
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 02 February 2023, 02:44 GMT
Reason for closing:  Fixed

Loading...