pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: asterisk16: build native results in broken binaries under under certain circumstances



Am 31.12.2020 um 11:34 schrieb Matthias Petermann:
Hi Nia,

Am 31.12.2020 um 11:29 schrieb nia:
Yes, it needs to be disabled by default and shouldn't be an option.
It should ideally also be pulled up to the stable branch if we
can't get this in in time.

```
builder91$ rcsdiff options.mk
===================================================================
RCS file: options.mk,v
retrieving revision 1.1
diff -r1.1 options.mk
5a6
 > PKG_SUPPORTED_OPTIONS+=               build-native
61a63,65
 > .if empty(PKG_OPTIONS:Mbuild-native)
>       ${ECHO} "MENUSELECT_CFLAGS=-BUILD_NATIVE" >> ${WRKSRC}/pkgsrc.makeopts
 > .endif
```


I understand - I hadn't taken that seriously enough in my first response. So build native should not even be available as an option but simply disabled. In this case, the

${ECHO} "MENUSELECT_CFLAGS=-BUILD_NATIVE" >>
> ${WRKSRC}/pkgsrc.makeopts

within the section of the Makefile before the make menuconfig should be sufficient.

Kind regards
Matthias


Home | Main Index | Thread Index | Old Index