3 [files-in-dest-cfg-dir]
5 {FLAGS, ASMFLAGS, CFLAGS, CXXFLAGS, CPPFLAGS, LDFLAGS}*.{imi,list}
10 {c, asm, cc, cpp, sh}-src-{file, dir}.list
18 XXX_DEF: build-pkg detect system, and the default paramters below is setted by
19 soft installer of build-pkg.
20 TOOLCHAIN: toolchain info. for different compiler setting.
21 ARCH_CPU: cpu arch name for optimize.
22 BUILD_VER_TYPE: BULID_DEBUG or BULID_RELEASE version.
23 OPT_LVL: optimize level.
25 @ build cmd option flags.
26 ASFLAGS: .asm compile flags.
27 CFLAGS: .c compile flags.
28 CXXFLAGS: .cc compile flags.
29 CPPFLAGS: .cpp compile flags.
30 CCFLAGS_XXX: general compile flags for c/cc/cpp/asm.
31 LDFLAGS: link flags for a dest.
32 LDFLAGS_XXX: general link flags.
33 ARFLAGS: static lib archive param.
34 ARFLAGS_XXX: general archive param.
36 # XXX_OUT: options given beyound pkg.
37 CFLAGS_OUT: variable CFLAGS setted in system, assign it to CFLAGS_OUT.
38 CPPFLAGS_OUT/CXXFLAGS_OUT/ASFLAGS_OUT/LDFLAGS_OUT/:
39 # XXX_EXT: some option setted beyound config file. eg: generated by script.
40 CFLAGS_EXT: some srcpkg do the param check work in script, and generate it by
41 script. eg: "-lncurses" in build-config are generated by script. use
43 XXX_EVL: flags to be eval.
44 XXX[<_EVL>]_DEF: global default defination flags, with _EVL or not.
47 dep-pkg.list +=> LDFLAGS-LIB.list
50 # CFLAGS_PROG_SIZEINFO=" "
54 -fstack-protector-strong
57 @ 'build' cmd default state is release-version.
58 @ 'build release' cmd is debug-version.
59 @ 'dev build' cmd default state is debug-version.