Logo
Explore Help
Sign In
kenmirrors/asterisk
1
0
Fork 0
You've already forked asterisk
mirror of https://github.com/asterisk/asterisk.git synced 2025-09-24 22:58:21 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
8a390e342ae7b316429686af49621bf06a726470
asterisk/build_tools/make_buildopts_h

14 lines
221 B
Plaintext
Raw Normal View History

change the CFLAGS controlled by menuselect to be placed in a header file instead of being added to the compiler commands. This header file will be installed and modules built outside of the main tree will be able to use the same build options used to build the rest of Asterisk. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 09:50:41 +00:00
#!/bin/sh
cat << END
/*
* buildopts.h
* Automatically generated
*/
END
forcing a dist-clean in the cleantest was a bad idea. Just change the script that generates buildopts.h to handle old menuselect.makeopts files git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:28:37 +00:00
TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed s/MENUSELECT_CFLAGS\=//g | sed s/-D//g`
change the CFLAGS controlled by menuselect to be placed in a header file instead of being added to the compiler commands. This header file will be installed and modules built outside of the main tree will be able to use the same build options used to build the rest of Asterisk. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 09:50:41 +00:00
for x in ${TMP}; do
echo "#define ${x}"
done
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 77ms Template repo/view: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API