source: packages/libs/axtls/patches/001-opt_flags.patch @ 15938

Last change on this file since 15938 was 15938, checked in by florian, 7 years ago

[package] update axTLS to 1.2.2 (#5167)

  • Property svn:eol-style set to native
File size: 865 bytes
  • config/makefile.conf

    diff -pruN axTLS.orig/config/makefile.conf axTLS/config/makefile.conf
    old new endif 
    105105endif 
    106106 
    107107ifdef CONFIG_DEBUG 
    108 CFLAGS += -g 
     108OPT_CFLAGS = -g 
    109109else 
    110 LDFLAGS += -s 
     110OPT_LDFLAGS = -s 
    111111ifdef CONFIG_PLATFORM_SOLARIS 
    112 CFLAGS += -O  
     112OPT_CFLAGS = -O  
    113113else 
    114 CFLAGS += -O3 
     114OPT_CFLAGS = -O3 
    115115endif 
    116116 
    117117endif   # CONFIG_DEBUG 
    118118endif   # WIN32 
    119119 
    120 CFLAGS+=$(subst ",, $(strip $(CONFIG_EXTRA_CFLAGS_OPTIONS))) 
    121 LDFLAGS+=$(subst ",, $(strip $(CONFIG_EXTRA_LDFLAGS_OPTIONS))) 
     120EXTRA_CFLAGS=$(subst ",, $(strip $(CONFIG_EXTRA_CFLAGS_OPTIONS))) 
     121EXTRA_LDFLAGS=$(subst ",, $(strip $(CONFIG_EXTRA_LDFLAGS_OPTIONS))) 
     122 
     123CFLAGS += $(OPT_CFLAGS) $(EXTRA_CFLAGS) 
     124LDFLAGS += $(OPT_LDFLAGS) $(EXTRA_LDFLAGS) 
    122125 
    123126endif   # not 'clean' 
    124127 
Note: See TracBrowser for help on using the repository browser.