Changeset 2112a79 in mainline


Ignore:
Timestamp:
2016-05-22T17:06:37Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
153c7a29
Parents:
97696ab
Message:

Do not test thread-local storage in a statically linked executable.

Location:
uspace/app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/dltest/dltest.c

    r97696ab r2112a79  
    314314}
    315315
     316#ifndef STATIC_EXE
     317
    316318/** Test calling a function that returns contents of a private initialized
    317319 * fibril-local variable.
     
    538540}
    539541
     542#endif /* STATIC_EXE */
     543
    540544#ifdef DLTEST_LINKED
    541545
     
    829833}
    830834
    831 #endif
     835#endif /* DLTEST_LINKED */
    832836
    833837static int test_dlfcn(void)
     
    866870                return 1;
    867871
     872#ifndef STATIC_EXE
    868873        if (!test_dlfcn_dl_get_private_fib_var())
    869874                return 1;
     
    883888        if (!test_dlfcn_read_public_fib_uvar())
    884889                return 1;
     890#endif /* STATIC_EXE */
    885891
    886892//      printf("dlclose()... ");
     
    937943}
    938944
    939 #endif
     945#endif /* DLTEST_LINKED */
    940946
    941947static void print_syntax(void)
  • uspace/app/dltests/Makefile

    r97696ab r2112a79  
    3535
    3636include $(USPACE_PREFIX)/Makefile.common
     37
     38ifeq ($(STATIC_BUILD), y)
     39        EXTRA_CFLAGS += -DSTATIC_EXE
     40endif
Note: See TracChangeset for help on using the changeset viewer.