build.json 640 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "SimplePOSIXTests": {
  3. "Include": [
  4. "/arch/$ARCH/include/cflags.json"
  5. ],
  6. "Cflags": [
  7. "-fstack-check",
  8. "-fstack-protector-all",
  9. "/arch/$ARCH/lib/newlib/libc.a",
  10. "/arch/$ARCH/lib/newlib/libm.a",
  11. "/arch/$ARCH/lib/newlib/libg.a",
  12. "-I", "/sys/posix/newlib",
  13. "-O2",
  14. "-std=gnu11"
  15. ],
  16. "Oflags": [
  17. "-static",
  18. "-lposix",
  19. "-lc"
  20. ],
  21. "Install": "/arch/$ARCH/qa/lib/newlib",
  22. "Post": [
  23. "rm -f *.o",
  24. "#cp *.rc $JEHANNE/arch/$ARCH/qa/lib/newlib/"
  25. ],
  26. "Pre": [
  27. "rm -f *.tag.*"
  28. ],
  29. "SourceFiles": [
  30. "libposix_customization.c"
  31. ],
  32. "SourceFilesCmd": [
  33. "hello.c",
  34. "fork0.c"
  35. ]
  36. }
  37. }