OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | ''' |
| 2 | Modify this file, by platform, to handle nonstandard options for third-party |
| 3 | dependencies. If you do modify this file, you should make it read-only |
| 4 | (or otherwise protect it) so that CVS will not overwrite it. |
| 5 | |
| 6 | Order is important: place local paths ahead of system paths. |
| 7 | ''' |
| 8 | import sys |
| 9 | import os |
| 10 | |
| 11 | customCPPPATH = [] |
| 12 | customCCFLAGS = [] |
| 13 | customCXXFLAGS = [] |
| 14 | customLIBS = [] |
| 15 | customLIBPATH = [] |
| 16 | customSHLINKFLAGS = [] |
| 17 | customSWIGFLAGS = [] |
| 18 | |
| 19 | if sys.platform[:5] == 'linux': |
| 20 | platform = 'linux' |
| 21 | customCPPPATH.append(os.environ['LDFLAGS']) |
| 22 | customCCFLAGS.append(os.environ['CFLAGS']) |
| 23 | customCXXFLAGS.append(os.environ['CFLAGS']) |
| 24 | customLIBPATH.append(os.environ['LDFLAGS']) |
| 25 | else: |
| 26 | platform = 'unsupported platform' |
| 27 | |
| 28 |
